]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/calctrl.cpp
Various fixes for wxMotif
[wxWidgets.git] / src / generic / calctrl.cpp
index 40259f8b942492324354d0ebb892089ee8916a09..04facbffb19ee93513f206be31730f78277fe602 100644 (file)
@@ -36,8 +36,7 @@
     #include "wx/stattext.h"
 #endif //WX_PRECOMP
 
-// Can only use wxSpinEvent if this is enabled
-#if wxUSE_SPINBTN
+#if wxUSE_CALENDARCTRL
 
 #include "wx/calctrl.h"
 
@@ -1058,5 +1057,5 @@ wxCalendarEvent::wxCalendarEvent(wxCalendarCtrl *cal, wxEventType type)
     m_date = cal->GetDate();
 }
 
-#endif // wxUSE_SPINBTN
+#endif // wxUSE_CALENDARCTRL