X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e934052eb0998995bfaf12cb7bed96525e1437df..ad259ba5b263acd502b2bad4c73e58e00d353702:/include/wx/datectrl.h?ds=sidebyside diff --git a/include/wx/datectrl.h b/include/wx/datectrl.h index ff8057222d..7adfbf775e 100644 --- a/include/wx/datectrl.h +++ b/include/wx/datectrl.h @@ -16,9 +16,15 @@ #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" -#include "wx/dateevt.h" #define wxDatePickerCtrlNameStr _T("datectrl")