XmNlabelType, XmPIXMAP,
NULL);
+ m_windowFont = parent->GetFont();
+ ChangeFont(FALSE);
+
SetCanAddEventHandler(TRUE);
AttachWidget (parent, m_mainWidget, (WXWidget) NULL, pos.x, pos.y, size.x, size.y);
- SetFont(* parent->GetFont());
-
ChangeBackgroundColour ();
return TRUE;
// since it is no longer valid.
XtVaSetValues (widget,
XmNlabelType, XmSTRING,
- XmNlabelPixmap, NULL, // TODO: Does this work?
+ XmNlabelPixmap, XmUNSPECIFIED_PIXMAP,
NULL);
}
}
-void wxStaticBitmap::ChangeFont()
+void wxStaticBitmap::ChangeFont(bool keepOriginalSize)
{
- // TODO
+ wxWindow::ChangeFont(keepOriginalSize);
}
void wxStaticBitmap::ChangeBackgroundColour()
{
- // TODO
+ wxWindow::ChangeBackgroundColour();
}
void wxStaticBitmap::ChangeForegroundColour()
{
- // TODO
+ wxWindow::ChangeForegroundColour();
}