]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/statbox.cpp
cast fix, workaround for pickeir compilers
[wxWidgets.git] / src / univ / statbox.cpp
index 1024db81253bb333b8f40bc2705bd4902fbb28ca..20316fc323fb0866e5f23f4a1d1b4b3024a86b72 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "univstatbox.h"
 #endif
 
@@ -56,11 +56,11 @@ bool wxStaticBox::Create(wxWindow *parent,
                          const wxString &name)
 {
     if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
-        return FALSE;
+        return false;
 
     SetLabel(label);
 
-    return TRUE;
+    return true;
 }
 
 void wxStaticBox::DoDraw(wxControlRenderer *renderer)