git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35083
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// use this version if we're explicitly requested to do it or if it's the only
// one we have
// 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"
#ifndef WX_PRECOMP
#include "wx/bmpbuttn.h"