diff --git a/CHANGES b/CHANGES index 936cc5c0c..5a822c3a3 100644 --- a/CHANGES +++ b/CHANGES @@ -1,7 +1,10 @@ CHANGES IN FLTK 1.1.7 - - Removed a few warnings when compiling on OS X - Documentation fixes (STR #648, STR #692) + - Fl_Window::hide() didn't delete the current clipping + region on WIN32, causing a GDI resource leak in some + situations (STR #723) + - Removed a few warnings when compiling on OS X - Fl_Menu now draws the arrow more like other toolkits and 2.0 (STR #651) - Fixed a VC++ compiler error in Fl_JPEG_Image.cxx (STR diff --git a/src/Fl.cxx b/src/Fl.cxx index 05970a8e9..dd0ebea81 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -842,10 +842,10 @@ void Fl_Window::hide() { Fl_X::q_release_context(ip); if ( ip->xid == fl_window ) fl_window = 0; -#else - if (ip->region) XDestroyRegion(ip->region); #endif + if (ip->region) XDestroyRegion(ip->region); + #ifdef __APPLE_QD__ if ( !parent() ) // don't destroy shared windows! {