From: Vadim Zeitlin Date: Thu, 4 Aug 2005 00:34:03 +0000 (+0000) Subject: check that wxUSE_DATEPICKCTRL_GENERIC is defined before checking its value X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2a5e6376f23d5d61e485fde07cd4bcd88ca28c3b check that wxUSE_DATEPICKCTRL_GENERIC is defined before checking its value git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/datectlg.cpp b/src/generic/datectlg.cpp index 299aec46f7..2c2a33d58a 100644 --- a/src/generic/datectlg.cpp +++ b/src/generic/datectlg.cpp @@ -29,7 +29,8 @@ // use this version if we're explicitly requested to do it or if it's the only // one we have -#if wxUSE_DATEPICKCTRL_GENERIC || !defined(wxHAS_NATIVE_DATEPICKCTRL) +#if !defined(wxHAS_NATIVE_DATEPICKCTRL) || \ + (defined(wxUSE_DATEPICKCTRL_GENERIC) && wxUSE_DATEPICKCTRL_GENERIC) #ifndef WX_PRECOMP #include "wx/bmpbuttn.h"