define wxUSE_DATEPICKCTRL_GENERIC as 0 if it's not defined already

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-02-08 14:24:17 +00:00
parent afbd54e0d7
commit 86ed9a0dc7

View File

@ -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"