Solves STR#2889, increases reusability of SetSize() in example.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9728 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
c5baa8dac3
commit
84f374f805
@ -57,6 +57,7 @@ public:
|
||||
~WidgetTable() { }
|
||||
|
||||
void SetSize(int newrows, int newcols) {
|
||||
clear(); // clear any previous widgets, if any
|
||||
rows(newrows);
|
||||
cols(newcols);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user