diff options
| author | Fabien Costantini <fabien@onepost.net> | 2008-11-06 23:24:38 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2008-11-06 23:24:38 +0000 |
| commit | 383a1f5f22da1b7ff0189138733fb24c4aa99caa (patch) | |
| tree | 8d933b5d4cc848d4daa069eef6e7e58e93b7e31f /FL | |
| parent | 8878c68256cdb7bf899aefaf0ef3f8057005f298 (diff) | |
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
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Widget.H | 4 |
1 files 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 |
