From 9999922623158c296ce5485f7416103cdef863ca Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 27 Jan 2003 19:11:09 +0000 Subject: setStyle in the constructor of each child widget --- otk/button.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'otk/button.cc') 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() -- cgit v1.2.3