]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/spinbutt.h
Some compilation fixes
[wxWidgets.git] / include / wx / spinbutt.h
index 02f38a74b08cd1d2b0c1c11bf9e822ac86b81ca1..5b963300169d4a9a6b3e76638d70500ea7b93fce 100644 (file)
@@ -13,8 +13,9 @@
 #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
 
 // ----------------------------------------------------------------------------