X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ef2db2570c8abd3b472ac91df5035534948c09f..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/datectrl.h 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"