From 1d571c3054c84dbbfe1c7e4cf696ff4592754538 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 28 Nov 2008 09:06:08 +0000 Subject: 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 --- src/Fl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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: -- cgit v1.2.3