diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl.cxx | 2 | ||||
| -rw-r--r-- | src/Fl_win32.cxx | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx index dd0ebea81..d90600402 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -829,6 +829,8 @@ void Fl_Window::hide() { handle(FL_HIDE); #ifdef WIN32 + // Send a message to myself so that I'll get out of the event loop... + PostMessage(ip->xid, WM_APP, 0, 0); if (ip->private_dc) ReleaseDC(ip->xid,ip->private_dc); if (ip->xid == fl_window && fl_gc) { ReleaseDC(fl_window, fl_gc); diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index f9fb43657..f49c432ca 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_win32.cxx,v 1.33.2.37.2.52 2004/12/03 03:14:16 easysw Exp $" +// "$Id$" // // WIN32-specific code for the Fast Light Tool Kit (FLTK). // @@ -104,7 +104,7 @@ // the sockets has pending data, etc. // -#define WM_FLSELECT (WM_USER+0x0400) +#define WM_FLSELECT (WM_APP+1) // WM_APP is used for hide-window //////////////////////////////////////////////////////////////// @@ -1244,5 +1244,5 @@ void Fl_Window::make_current() { } // -// End of "$Id: Fl_win32.cxx,v 1.33.2.37.2.52 2004/12/03 03:14:16 easysw Exp $". +// End of "$Id$". // |
