]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/spinctrlcmn.cpp
Forgot header with OSX prefix
[wxWidgets.git] / src / common / spinctrlcmn.cpp
index 68b7e2e10bbb05b5605b6c99052478a9fcadac2f..e731f0bbdbf1705482cec7729d022220db93cf6d 100644 (file)
@@ -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"
 
+#if wxUSE_SPINCTRL
+
 wxDEFINE_EVENT(wxEVT_COMMAND_SPINCTRL_UPDATED, wxSpinEvent)
 wxDEFINE_EVENT(wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED, wxSpinDoubleEvent)
 
+#endif // wxUSE_SPINCTRL