summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2008-11-28 09:06:08 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2008-11-28 09:06:08 +0000
commit1d571c3054c84dbbfe1c7e4cf696ff4592754538 (patch)
treeba841181d74fc56e699a50804608e8f3c34f4d75
parent994c1d82a26a4c6016839ddd99230aa556456d81 (diff)
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
-rw-r--r--src/Fl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx
index 0b62f4c4e..a1e160774 100644
--- a/src/Fl.cxx
+++ b/src/Fl.cxx
@@ -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: