STR 2096: Fixed a regression introduced by making Fl_Widget::hide()

virtual (svn -r 6502, STR #396): Windows closed, if minimized.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2008-11-28 09:06:08 +00:00
parent 994c1d82a2
commit 1d571c3054

View File

@ -932,11 +932,11 @@ int Fl::handle(int e, Fl_Window* window)
return 1;
case FL_SHOW:
wi->show(); // this calls Fl_Widget::show(), not Fl_Window::show()
wi->Fl_Widget::show(); // this calls Fl_Widget::show(), not Fl_Window::show()
return 1;
case FL_HIDE:
wi->hide(); // this calls Fl_Widget::hide(), not Fl_Window::hide()
wi->Fl_Widget::hide(); // this calls Fl_Widget::hide(), not Fl_Window::hide()
return 1;
case FL_PUSH: