mirror of
https://github.com/fltk/fltk.git
synced 2026-05-27 02:46:34 +08:00
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:
@@ -57,6 +57,7 @@ public:
|
|||||||
~WidgetTable() { }
|
~WidgetTable() { }
|
||||||
|
|
||||||
void SetSize(int newrows, int newcols) {
|
void SetSize(int newrows, int newcols) {
|
||||||
|
clear(); // clear any previous widgets, if any
|
||||||
rows(newrows);
|
rows(newrows);
|
||||||
cols(newcols);
|
cols(newcols);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user