diff options
Diffstat (limited to 'FL/Fl_Group.H')
| -rw-r--r-- | FL/Fl_Group.H | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/FL/Fl_Group.H b/FL/Fl_Group.H index 26baf9726..61ae51093 100644 --- a/FL/Fl_Group.H +++ b/FL/Fl_Group.H @@ -41,7 +41,10 @@ class Fl_Rect; */ class FL_EXPORT Fl_Group : public Fl_Widget { - Fl_Widget** array_; + union { + Fl_Widget** array_; // used if group has two or more children or NULL + Fl_Widget* child1_; // used if group has one child or NULL + }; Fl_Widget* savedfocus_; Fl_Widget* resizable_; int children_; |
