summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FL/Fl_Pack.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/Fl_Pack.H b/FL/Fl_Pack.H
index 1f8db0155..3da236b19 100644
--- a/FL/Fl_Pack.H
+++ b/FL/Fl_Pack.H
@@ -93,6 +93,9 @@ public:
uchar horizontal() const {return type();}
void resize(int X, int Y, int W, int H) FL_OVERRIDE;
+ /** Deletes all child widgets with Fl_Group::clear().
+ And sets to NULL the resizable() widget. */
+ void clear() { Fl_Group::clear(); resizable(NULL); }
};
#endif