X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ef2db2570c8abd3b472ac91df5035534948c09f..09b895cb4a954494063eb17d3dc302a654fd99e5:/include/wx/datectrl.h?ds=sidebyside 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"