It seems that the long standing window stacking order problem in MSWindows is now finally solved. The solution is too silly to belive. It seems like WIN32 needs a HideWindow before the DestroyWindow, or the window manager gets confused. DOH!

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5215 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2006-06-19 08:51:14 +00:00
parent 11de032d6d
commit 6190aa5728
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
CHANGES IN FLTK 1.1.8
- Fixed WIN32 window stacking bug (STR #1296)
- Fixed wrong code generated by Fluid
for Scrollbars (STR #1287)
- Loading a file would not update the Widget

View File

@ -952,6 +952,7 @@ void Fl_Window::hide() {
if (ip->region) XDestroyRegion(ip->region);
#ifdef WIN32
CloseWindow(ip->xid);
XDestroyWindow(fl_display, ip->xid);
#elif defined(__APPLE_QD__)
if ( !parent() ) // don't destroy shared windows!