]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/stattext.cpp
synthesize NM_RCLICK ourselves now that def window proc doesn't do it as we don't...
[wxWidgets.git] / src / univ / stattext.cpp
index 8521014b48ee628023405fa07a7325b19869a9d1..a5f4c03eb0910402f3bd9c41deedd7286f256c06 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "univstattext.h"
 #endif
 
     #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) )
                           const wxString &name)
 {
     if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
-        return FALSE;
+        return false;
         
     SetLabel(label);
     SetBestSize(size);
 
         
     SetLabel(label);
     SetBestSize(size);
 
-    return TRUE;
+    return true;
 }
 
 // ----------------------------------------------------------------------------
 }
 
 // ----------------------------------------------------------------------------