summaryrefslogtreecommitdiff
path: root/dw/fltkcomplexbutton.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-01-23 23:28:22 +0000
committercorvid <corvid@lavabit.com>2011-01-23 23:28:22 +0000
commit0996de0d697c3b5baface97f05b18353f7f30d64 (patch)
tree6175c381024dc1adf25934fd40dd0f6b6b5d29cd /dw/fltkcomplexbutton.cc
parent2411c95059cb0f26a4b38075916f597e7948eca2 (diff)
prevent new Fl_Widgets from automatically being added to a Fl_Group
Diffstat (limited to 'dw/fltkcomplexbutton.cc')
-rw-r--r--dw/fltkcomplexbutton.cc1
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;