]> git.saurik.com Git - wxWidgets.git/commitdiff
define wxUSE_DATEPICKCTRL_GENERIC as 0 if it's not defined already
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 Feb 2007 14:24:17 +0000 (14:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 Feb 2007 14:24:17 +0000 (14:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/datectrl.h

index 81f6c0d62eaac9b34070cc775726c0e8ec8217ec..7adfbf775e310a0a33afd0c46e3c681fada497bc 100644 (file)
 
 #if wxUSE_DATEPICKCTRL
 
+// this is currently defined in wx/msw/setup.h but not for MSW configure builds
+// and other ports which only have the generic version anyhow, so provide a
+// fallback definition here for them
+#ifndef wxUSE_DATEPICKCTRL_GENERIC
+    #define wxUSE_DATEPICKCTRL_GENERIC 0
+#endif
+
 #include "wx/control.h"         // the base class
 #include "wx/datetime.h"