]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/statline.cpp
fixed TREE_ITEM_MENU generation from right mouse clicks: don't pass WM_RBUTTONDOWN...
[wxWidgets.git] / src / univ / statline.cpp
index 2eee48c214cfd973f5e9e48342afd2199618eec0..bd666a45b7b1efe67009f912743a2e3822e7b92c 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "univstatline.h"
 #endif
 
     #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) )
                           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);
 
 
     wxSize sizeReal = AdjustSize(size);
     if ( sizeReal != size )
         SetSize(sizeReal);
 
-    return TRUE;
+    return true;
 }
 
 void wxStaticLine::DoDraw(wxControlRenderer *renderer)
 }
 
 void wxStaticLine::DoDraw(wxControlRenderer *renderer)