mirror of https://github.com/fltk/fltk
Fix for "Fl_Pack should override clear() to set resizable(0)" (#993)
This commit is contained in:
parent
7a35e256bc
commit
54cff14f87
|
@ -93,6 +93,9 @@ public:
|
||||||
uchar horizontal() const {return type();}
|
uchar horizontal() const {return type();}
|
||||||
|
|
||||||
void resize(int X, int Y, int W, int H) FL_OVERRIDE;
|
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
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue