From c8533804720e56016e463bbdb2cdc628c5b7ea7b Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Fri, 23 Nov 2012 20:07:22 +0000 Subject: Continued fix for STR#2889 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Table.H | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'FL') diff --git a/FL/Fl_Table.H b/FL/Fl_Table.H index c71d918aa..28836c9a0 100644 --- a/FL/Fl_Table.H +++ b/FL/Fl_Table.H @@ -478,11 +478,11 @@ public: ~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() -- cgit v1.2.3