X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a5bc50ee00be73c82685dbdf63dbad35348e920f..49a91764b57168d9f441578001b3206a7330ee70:/src/mac/spinctrl.cpp diff --git a/src/mac/spinctrl.cpp b/src/mac/spinctrl.cpp index effc48b853..31aca32843 100644 --- a/src/mac/spinctrl.cpp +++ b/src/mac/spinctrl.cpp @@ -12,19 +12,30 @@ #pragma implementation "spinctlg.h" #endif -#include "wx/spinctrl.h" +#include "wx/defs.h" #if wxUSE_SPINCTRL +#include "wx/spinctrl.h" + //----------------------------------------------------------------------------- // wxSpinCtrl //----------------------------------------------------------------------------- +#if wxUSE_SPINBTN && !defined(__WXMAC__) + +#if !USE_SHARED_LIBRARY + IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxControl) +#endif + +#else // !wxUSE_SPINBTN + #if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxTextCtrl) #endif +#endif // wxUSE_SPINBTN/!wxUSE_SPINBTN #endif // wxUSE_SPINCTRL