X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0de868d9dda005db4f84117f0704dbc5702ddb71..5f9fd7ea86d211e3681a71c9f70303aa72b5de3c:/src/generic/calctrl.cpp diff --git a/src/generic/calctrl.cpp b/src/generic/calctrl.cpp index a0aae27144..34c346e4c7 100644 --- a/src/generic/calctrl.cpp +++ b/src/generic/calctrl.cpp @@ -36,6 +36,9 @@ #include "wx/stattext.h" #endif //WX_PRECOMP +// Can only use wxSpinEvent if this is enabled +#if wxUSE_SPINBTN + #include "wx/calctrl.h" #define DEBUG_PAINT 0 @@ -1033,3 +1036,6 @@ wxCalendarEvent::wxCalendarEvent(wxCalendarCtrl *cal, wxEventType type) { m_date = cal->GetDate(); } + +#endif // wxUSE_SPINBTN +