Fix for "Fl_Pack should override clear() to set resizable(0)" (#993)

This commit is contained in:
ManoloFLTK 2024-06-23 08:50:29 +02:00
parent 7a35e256bc
commit 54cff14f87
1 changed files with 3 additions and 0 deletions

View File

@ -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