]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/stattext.cpp
Fix for listbox problem, when created on invisible
[wxWidgets.git] / src / univ / stattext.cpp
index 8521014b48ee628023405fa07a7325b19869a9d1..a5f4c03eb0910402f3bd9c41deedd7286f256c06 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "univstattext.h"
 #endif
 
@@ -57,12 +57,12 @@ bool wxStaticText::Create(wxWindow *parent,
                           const wxString &name)
 {
     if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
-        return FALSE;
+        return false;
         
     SetLabel(label);
     SetBestSize(size);
 
-    return TRUE;
+    return true;
 }
 
 // ----------------------------------------------------------------------------