diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-06-23 08:50:29 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-06-23 08:50:29 +0200 |
| commit | 54cff14f87fd664ae88fa22dae333970957cfcd7 (patch) | |
| tree | e121469c22290c3ec266dc88671eb3efbdcc0fd4 | |
| parent | 7a35e256bc2c57b41c595fb2c5a46d61bb5fc68f (diff) | |
Fix for "Fl_Pack should override clear() to set resizable(0)" (#993)
| -rw-r--r-- | FL/Fl_Pack.H | 3 |
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 |
