]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/calctrl.cpp
moved wxDash typedef to gdicmn.h
[wxWidgets.git] / src / generic / calctrl.cpp
index a0aae271449525f6408d1b7d806bbaa230cf5050..34c346e4c7afe9b9889d55db2deabc2ca9155549 100644 (file)
@@ -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
+