]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/statbmp.cpp
allowing a clear of a graphic context, and set the pen and brush after a graphics...
[wxWidgets.git] / src / motif / statbmp.cpp
index 1226a83f61c5c002bf7a51f54373c4ea7e3a9429..f576c57c8442a04879e9aaaa44c8827989ace96a 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"
@@ -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)