X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a69e2a0ac7635d1df2dd36ffab64324a8b915384..3b49331b7441e091fc5997b830801d76a1243f28:/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"