X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c8ec0b3d36f0fd9057440fea71afd366bfbb99f1..1003169e2107a98807ed8279eeb8df7e4e90ca98:/src/motif/statbmp.cpp diff --git a/src/motif/statbmp.cpp b/src/motif/statbmp.cpp index 72a813f396..77941b93fb 100644 --- a/src/motif/statbmp.cpp +++ b/src/motif/statbmp.cpp @@ -9,9 +9,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statbmp.h" -#endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" #include "wx/defs.h" @@ -52,7 +51,7 @@ bool wxStaticBitmap::Create(wxWindow *parent, wxWindowID id, Widget parentWidget = (Widget) parent->GetClientWidget(); m_mainWidget = (WXWidget) XtVaCreateManagedWidget ("staticBitmap", -#if USE_GADGETS +#if wxUSE_GADGETS xmLabelGadgetClass, parentWidget, #else xmLabelWidgetClass, parentWidget, @@ -64,7 +63,7 @@ bool wxStaticBitmap::Create(wxWindow *parent, wxWindowID id, DoSetBitmap(); - ChangeFont(FALSE); + ChangeFont(false); wxSize actualSize(size); // work around the cases where the bitmap is a wxNull(Icon/Bitmap)