diff options
Diffstat (limited to 'src/Fl.cxx')
| -rw-r--r-- | src/Fl.cxx | 2 |
1 files changed, 2 insertions, 0 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); |
