From 337dc4c1f68c96f5fe3f8d3e7ddf17dbf8ce773f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Fri, 25 Feb 2005 11:07:00 +0000 Subject: [PATCH] Use of date picker control flag must be somehow defined. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/chkconf.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 361ba6b539..d93f2eab61 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -356,6 +356,14 @@ # endif #endif /* !defined(wxUSE_DATAOBJ) */ +#ifndef wxUSE_DATEPICKCTRL +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_DATEPICKCTRL must be defined." +# else +# define wxUSE_DATEPICKCTRL 0 +# endif +#endif /* !defined(wxUSE_DATEPICKCTRL) */ + #ifndef wxUSE_DISPLAY # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_DISPLAY must be defined."