diff options
author | corvid <corvid@lavabit.com> | 2011-01-23 23:28:22 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-01-23 23:28:22 +0000 |
commit | 0996de0d697c3b5baface97f05b18353f7f30d64 (patch) | |
tree | 6175c381024dc1adf25934fd40dd0f6b6b5d29cd /dw/fltkcomplexbutton.cc | |
parent | 2411c95059cb0f26a4b38075916f597e7948eca2 (diff) |
prevent new Fl_Widgets from automatically being added to a Fl_Group
Diffstat (limited to 'dw/fltkcomplexbutton.cc')
-rw-r--r-- | dw/fltkcomplexbutton.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dw/fltkcomplexbutton.cc b/dw/fltkcomplexbutton.cc index 6efe0181..3ef50238 100644 --- a/dw/fltkcomplexbutton.cc +++ b/dw/fltkcomplexbutton.cc @@ -168,6 +168,7 @@ int ComplexButton::handle(int event) { */ ComplexButton::ComplexButton(int X, int Y, int W, int H, const char *L) : Fl_Group(X,Y,W,H,L) { + Fl_Group::current(0); box(FL_UP_BOX); down_box(FL_NO_BOX); value_ = oldval = 0; |