]> git.saurik.com Git - wxWidgets.git/commitdiff
implement date events here if wxDatePickerCtrl is not used (as we need them too)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 17 Jan 2005 00:32:22 +0000 (00:32 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 17 Jan 2005 00:32:22 +0000 (00:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/calctrl.cpp

index ef716d85b2f1a3c0b3f79d8cc4075ee45b855c4c..6e6bf645b0066c9f377799cf6d227133531ed28c 100644 (file)
 
 #include "wx/spinctrl.h"
 
-#define _WX_DEFINE_DATE_EVENTS_
+// if wxDatePickerCtrl code doesn't define the date event, do it here as we
+// need it as well
+#if !wxUSE_DATEPICKCTRL
+    #define _WX_DEFINE_DATE_EVENTS_
+#endif
+
 #include "wx/calctrl.h"
 
 #define DEBUG_PAINT 0