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:
Greg Ercolano 2012-11-20 18:32:59 +00:00
parent c5baa8dac3
commit 84f374f805

View File

@ -57,6 +57,7 @@ public:
~WidgetTable() { }
void SetSize(int newrows, int newcols) {
clear(); // clear any previous widgets, if any
rows(newrows);
cols(newcols);