From: Vadim Zeitlin Date: Thu, 8 Feb 2007 14:24:17 +0000 (+0000) Subject: define wxUSE_DATEPICKCTRL_GENERIC as 0 if it's not defined already X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/86ed9a0dc7bf2f085e4dbd91dcea9a8711c5300c define wxUSE_DATEPICKCTRL_GENERIC as 0 if it's not defined already git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/datectrl.h b/include/wx/datectrl.h index 81f6c0d62e..7adfbf775e 100644 --- a/include/wx/datectrl.h +++ b/include/wx/datectrl.h @@ -16,6 +16,13 @@ #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"