]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/spinbutt.h
patch adding DeselectXXX() functions from Roland Scholz <scholz@pb.izm.fhg.de>
[wxWidgets.git] / include / wx / spinbutt.h
index d1e04f8104ac4d0407fd0754e1c60e2534124652..5b5f4301f423c210e0be0d21cfc0d0b884ee575e 100644 (file)
@@ -13,7 +13,9 @@
 #define _WX_SPINBUTT_H_BASE_
 
 #ifdef __GNUG__
-    #pragma interface "spinbutbase.h"
+    #ifndef __WXMOTIF__ // because there is no matching .cpp for Motif
+        #pragma interface "spinbutbase.h"
+    #endif // Motif
 #endif
 
 // ----------------------------------------------------------------------------
@@ -22,7 +24,7 @@
 
 #include "wx/defs.h"
 
-#ifdef wxUSE_SPINBTN
+#if wxUSE_SPINBTN
 
 #include "wx/control.h"
 #include "wx/event.h"