X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/510fc784c0c7002488bcaad881901176554f7c32..3f7bc32b539472f7aa577ffa140e287b0dc4c90d:/include/wx/spinbutt.h diff --git a/include/wx/spinbutt.h b/include/wx/spinbutt.h index d1e04f8104..5b5f4301f4 100644 --- a/include/wx/spinbutt.h +++ b/include/wx/spinbutt.h @@ -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"