]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/spinbutt.h
Removing wxPlotWindow.
[wxWidgets.git] / include / wx / spinbutt.h
index 02f38a74b08cd1d2b0c1c11bf9e822ac86b81ca1..5b5f4301f423c210e0be0d21cfc0d0b884ee575e 100644 (file)
@@ -13,8 +13,9 @@
 #define _WX_SPINBUTT_H_BASE_
 
 #ifdef __GNUG__
 #define _WX_SPINBUTT_H_BASE_
 
 #ifdef __GNUG__
-#pragma interface "spinbutbase.h"
-#pragma implementation "spinbutbase.h"
+    #ifndef __WXMOTIF__ // because there is no matching .cpp for Motif
+        #pragma interface "spinbutbase.h"
+    #endif // Motif
 #endif
 
 // ----------------------------------------------------------------------------
 #endif
 
 // ----------------------------------------------------------------------------
@@ -23,7 +24,7 @@
 
 #include "wx/defs.h"
 
 
 #include "wx/defs.h"
 
-#ifdef wxUSE_SPINBTN
+#if wxUSE_SPINBTN
 
 #include "wx/control.h"
 #include "wx/event.h"
 
 #include "wx/control.h"
 #include "wx/event.h"