]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/statbmp.cpp
fixed crash introduced by recently applied autowidth patch (patch 1171455)
[wxWidgets.git] / src / motif / statbmp.cpp
index 1226a83f61c5c002bf7a51f54373c4ea7e3a9429..5d39f6906982e6d21ca663d2c0258b9a21e157e9 100644 (file)
@@ -13,6 +13,9 @@
 #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)