Author: fabien
Date: 2008-11-06 15:24:38 -0800 (Thu, 06 Nov 2008)
New Revision: 6502
Log:
 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 
...

Modified:
   branches/branch-1.3/FL/Fl_Widget.H

Modified: branches/branch-1.3/FL/Fl_Widget.H
===================================================================
--- branches/branch-1.3/FL/Fl_Widget.H  2008-11-06 22:36:01 UTC (rev 6501)
+++ branches/branch-1.3/FL/Fl_Widget.H  2008-11-06 23:24:38 UTC (rev 6502)
@@ -623,12 +623,12 @@
    *  
    *  \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 

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to