]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/spinbutt.h
dirty hack to fix deprecation warning when building wxMotif
[wxWidgets.git] / include / wx / motif / spinbutt.h
index 756b210e03782b711aed049bde29030cf8e33bdf..b90bba814be72124862f635ce14d2bacbabc3473 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_SPINBUTT_H_
 #define _WX_SPINBUTT_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "spinbutt.h"
 #endif
 
@@ -58,7 +58,7 @@ public:
     // Implementation
     virtual void Command(wxCommandEvent& event)
         { (void)ProcessCommand(event); };
-    virtual void ChangeFont(bool keepOriginalSize = TRUE);
+    virtual void ChangeFont(bool keepOriginalSize = true);
     virtual void ChangeBackgroundColour();
     virtual void ChangeForegroundColour();
 public: