diff options
| author | Greg Ercolano <erco@seriss.com> | 2012-11-23 20:07:22 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2012-11-23 20:07:22 +0000 |
| commit | c8533804720e56016e463bbdb2cdc628c5b7ea7b (patch) | |
| tree | 6066231a0a9e681f226c2e8d21058cc6ee080819 /FL | |
| parent | 0d97108c7af1de7a5fab1533381b1b528d1c6ce7 (diff) | |
Continued fix for STR#2889
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Table.H | 6 |
1 files changed, 3 insertions, 3 deletions
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() |
