]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/statline.cpp
[ 1216436 ] cleanup 'shadow variable' warnings from gcc in headers.
[wxWidgets.git] / src / univ / statline.cpp
index 2eee48c214cfd973f5e9e48342afd2199618eec0..bd666a45b7b1efe67009f912743a2e3822e7b92c 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "univstatline.h"
 #endif
 
@@ -56,13 +56,13 @@ bool wxStaticLine::Create(wxWindow *parent,
                           const wxString &name)
 {
     if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
-        return FALSE;
+        return false;
 
     wxSize sizeReal = AdjustSize(size);
     if ( sizeReal != size )
         SetSize(sizeReal);
 
-    return TRUE;
+    return true;
 }
 
 void wxStaticLine::DoDraw(wxControlRenderer *renderer)