X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c8ec0b3d36f0fd9057440fea71afd366bfbb99f1..9bb50fd0b04c824fc7ba14c0dc4ba4a2a9a1e6ad:/src/motif/statbmp.cpp?ds=inline diff --git a/src/motif/statbmp.cpp b/src/motif/statbmp.cpp index 72a813f396..f576c57c84 100644 --- a/src/motif/statbmp.cpp +++ b/src/motif/statbmp.cpp @@ -9,10 +9,13 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "statbmp.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/defs.h" #include "wx/statbmp.h" @@ -52,7 +55,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 +67,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)