X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e934052eb0998995bfaf12cb7bed96525e1437df..2036bdd30368d117918b565ae990a89841281f33:/include/wx/datectrl.h 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")