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
This commit is contained in:
Vadim Zeitlin
2005-08-04 00:34:03 +00:00
parent 2ff3507939
commit 2a5e6376f2

View File

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