#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
// ----------------------------------------------------------------------------
#include "wx/defs.h"
-#ifdef wxUSE_SPINBTN
+#if wxUSE_SPINBTN
#include "wx/control.h"
#include "wx/event.h"