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