mirror of
https://github.com/fltk/fltk.git
synced 2026-05-22 23:37:02 +08:00
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:
+2
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user