]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/spinctrlcmn.cpp
simplify Refresh() and Update()
[wxWidgets.git] / src / common / spinctrlcmn.cpp
index 8b4e62adc15f616f70076370fa5239eb57607762..e731f0bbdbf1705482cec7729d022220db93cf6d 100644 (file)
@@ -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