summaryrefslogtreecommitdiff
path: root/otk/button.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-27 19:11:09 +0000
committerDana Jansens <danakj@orodu.net>2003-01-27 19:11:09 +0000
commit9999922623158c296ce5485f7416103cdef863ca (patch)
tree71b48c2a26f3db1fb70167af1018c42c47cbadf0 /otk/button.cc
parentf55419c19bd4ceee2d6e2994e02e0336bba027b4 (diff)
setStyle in the constructor of each child widget
Diffstat (limited to 'otk/button.cc')
-rw-r--r--otk/button.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/otk/button.cc b/otk/button.cc
index e7340d1b..08dc0484 100644
--- a/otk/button.cc
+++ b/otk/button.cc
@@ -12,6 +12,7 @@ Button::Button(Widget *parent)
: FocusLabel(parent), _pressed(false), _pressed_focus_tx(0),
_pressed_unfocus_tx(0), _unpr_focus_tx(0), _unpr_unfocus_tx(0)
{
+ setStyle(_style);
}
Button::~Button()