]> 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 f5149b3cb59104e7dd93d8458df62eb4f541d34c..b90bba814be72124862f635ce14d2bacbabc3473 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_SPINBUTT_H_
 #define _WX_SPINBUTT_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#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: