Author: greg.ercolano
Date: 2012-11-23 12:07:22 -0800 (Fri, 23 Nov 2012)
New Revision: 9731
Log:
Continued fix for STR#2889
Modified:
branches/branch-1.3/FL/Fl_Table.H
Modified: branches/branch-1.3/FL/Fl_Table.H
===================================================================
--- branches/branch-1.3/FL/Fl_Table.H 2012-11-22 10:06:18 UTC (rev 9730)
+++ branches/branch-1.3/FL/Fl_Table.H 2012-11-23 20:07:22 UTC (rev 9731)
@@ -478,11 +478,11 @@
~Fl_Table();
/**
- Clears the table to zero rows, zero columns.
- Same as rows(0); cols(0);
+ Clears the table to zero rows (rows(0)), zero columns (cols(0)), and clears
+ any widgets (table->clear()) that were added with begin()/end() or
add()/insert()/etc.
\see rows(int), cols(int)
*/
- virtual void clear() { rows(0); cols(0); }
+ virtual void clear() { rows(0); cols(0); table->clear(); }
// \todo: add topline(), middleline(), bottomline()
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit