X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c8ec0b3d36f0fd9057440fea71afd366bfbb99f1..7f8c0d74d7025b6c677fbd88890ea10d302ef3d5:/src/motif/statbmp.cpp diff --git a/src/motif/statbmp.cpp b/src/motif/statbmp.cpp index 72a813f396..5d39f69069 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" @@ -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)