]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/statbmp.cpp
Simplified and extended compiler detection for OS/2.
[wxWidgets.git] / src / motif / statbmp.cpp
index 72a813f39628fb8f21cabf75a31a4dd30911afe9..5d39f6906982e6d21ca663d2c0258b9a21e157e9 100644 (file)
@@ -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)