X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c7789014106c9269b0f4ecc1a3071b14f351d3f..7e9c57542f80717be57dfb1ea51b050c902ebfa2:/src/common/spinctrlcmn.cpp diff --git a/src/common/spinctrlcmn.cpp b/src/common/spinctrlcmn.cpp index 68b7e2e10b..404f28a241 100644 --- a/src/common/spinctrlcmn.cpp +++ b/src/common/spinctrlcmn.cpp @@ -3,7 +3,7 @@ // Purpose: define wxSpinCtrl event types // Author: Peter Most // Created: 01.11.08 -// RCS-ID: $Id:$ +// RCS-ID: $Id$ // Copyright: (c) 2008-2009 wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -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