From 383a1f5f22da1b7ff0189138733fb24c4aa99caa Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Thu, 6 Nov 2008 23:24:38 +0000 Subject: [PATCH] Fixe #396 : non consistent hide and show behavior in Fl_Widget vs Fl_Window. As suggested by mike, now hide and show are virtual from Fl_Widget, as it breaks the abi, it has to be done before we release 1.3, last chance before 1.4 ... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Widget.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H index 987e850db..5f51924e5 100644 --- a/FL/Fl_Widget.H +++ b/FL/Fl_Widget.H @@ -623,12 +623,12 @@ public: * * \see hide(), visible(), visible_r() */ - void show(); + virtual void show(); /** Makes a widget invisible. * \see show(), visible(), visible_r() */ - void hide(); + virtual void hide(); /** Makes the widget visible. * You must still redraw the parent widget to see a change in the