]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/statline.cpp
guard grid XRC handler by #if wxUSE_GRID
[wxWidgets.git] / src / univ / statline.cpp
index a4527c4017e5cac02c50f55ea9587687b19dae18..dfdac47862d0144b1d5bfa0a9a0dfdc4f1c57fc7 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "univstatline.h"
-#endif
-
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
@@ -56,13 +52,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)