m_marginX = 0;
m_marginY = 0;
+/*
int x = pos.x;
int y = pos.y;
int width = size.x;
int height = size.y;
+*/
if (id == -1)
m_windowId = NewControlId();
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;
}