X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a3ac83faf3338cd289023345e63df9fa24400a9..184b5d99a5382cd7a19888c85aff11f8a21af2f6:/src/motif/statbmp.cpp?ds=sidebyside diff --git a/src/motif/statbmp.cpp b/src/motif/statbmp.cpp index 68fb07baad..20d46299d5 100644 --- a/src/motif/statbmp.cpp +++ b/src/motif/statbmp.cpp @@ -66,11 +66,12 @@ bool wxStaticBitmap::Create(wxWindow *parent, wxWindowID id, 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; @@ -119,18 +120,18 @@ void wxStaticBitmap::SetBitmap(const wxBitmap& bitmap) } } -void wxStaticBitmap::ChangeFont() +void wxStaticBitmap::ChangeFont(bool keepOriginalSize) { - // TODO + wxWindow::ChangeFont(keepOriginalSize); } void wxStaticBitmap::ChangeBackgroundColour() { - // TODO + wxWindow::ChangeBackgroundColour(); } void wxStaticBitmap::ChangeForegroundColour() { - // TODO + wxWindow::ChangeForegroundColour(); }