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:
parent
0c21b331b0
commit
02f327dbec
@ -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;
|
||||
|
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user