m_mainWidget = (WXWidget) buttonWidget;
+ m_windowFont = parent->GetFont();
+ ChangeFont(FALSE);
+
ChangeBackgroundColour ();
DoSetBitmap();
SetCanAddEventHandler(TRUE);
AttachWidget (parent, m_mainWidget, (WXWidget) NULL, pos.x, pos.y, size.x, size.y);
- SetFont(* parent->GetFont());
-
-
return TRUE;
}