Mac OS X: removed unused global variable fl_selection_requestor

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2010-12-13 12:21:12 +00:00
parent 0c21b331b0
commit 02f327dbec
2 changed files with 2 additions and 3 deletions

View File

@ -927,7 +927,7 @@ void fl_fix_focus() {
}
}
#ifndef WIN32
#if !(defined(WIN32) || defined(__APPLE__))
extern Fl_Widget *fl_selection_requestor; // from Fl_x.cxx
#endif
@ -945,7 +945,7 @@ void fl_throw_focus(Fl_Widget *o) {
#endif // DEBUG
if (o->contains(Fl::pushed())) Fl::pushed_ = 0;
#ifndef WIN32
#if !(defined(WIN32) || defined(__APPLE__))
if (o->contains(fl_selection_requestor)) fl_selection_requestor = 0;
#endif
if (o->contains(Fl::belowmouse())) Fl::belowmouse_ = 0;

View File

@ -2324,7 +2324,6 @@ const CFStringEncoding encodings[] = {
const size_t handledFlavorsCount = sizeof(encodings)/sizeof(CFStringEncoding);
// clipboard variables definitions :
Fl_Widget *fl_selection_requestor = 0;
char *fl_selection_buffer[2];
int fl_selection_length[2];
static int fl_selection_buffer_length[2];