X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/41fb3475406380b4a5411f0e4d820061155204d4..5858fe6806cd4568c05a493087951fef65e0756e:/src/common/spinctrlcmn.cpp diff --git a/src/common/spinctrlcmn.cpp b/src/common/spinctrlcmn.cpp index 8b4e62adc1..404f28a241 100644 --- a/src/common/spinctrlcmn.cpp +++ b/src/common/spinctrlcmn.cpp @@ -26,6 +26,9 @@ #include "wx/spinbutt.h" #include "wx/spinctrl.h" -wxDEFINE_EVENT(wxEVT_COMMAND_SPINCTRL_UPDATED, wxSpinEvent) -wxDEFINE_EVENT(wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED, wxSpinDoubleEvent) +#if wxUSE_SPINCTRL +wxDEFINE_EVENT(wxEVT_COMMAND_SPINCTRL_UPDATED, wxSpinEvent); +wxDEFINE_EVENT(wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED, wxSpinDoubleEvent); + +#endif // wxUSE_SPINCTRL