git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31541
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
#include "wx/msw/datectrl.h"
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
#include "wx/msw/datectrl.h"
+
+ #define wxHAS_NATIVE_DATEPICKCTRL
#else
#include "wx/generic/datectrl.h"
#else
#include "wx/generic/datectrl.h"
-#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
- #define HAS_NATIVE_VERSION
-#endif
+#include "wx/datectrl.h"
// 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(HAS_NATIVE_VERSION)
+#if wxUSE_DATEPICKCTRL_GENERIC || !defined(wxHAS_NATIVE_DATEPICKCTRL)
#ifndef WX_PRECOMP
#include "wx/bmpbuttn.h"
#ifndef WX_PRECOMP
#include "wx/bmpbuttn.h"
#endif
// otherwise it's defined in the native version implementation
#endif
// otherwise it's defined in the native version implementation
-#ifndef HAS_NATIVE_VERSION
+#ifndef wxHAS_NATIVE_DATEPICKCTRL
#define _WX_DEFINE_DATE_EVENTS_
#endif
#include "wx/dateevt.h"
#define _WX_DEFINE_DATE_EVENTS_
#endif
#include "wx/dateevt.h"
-#include "wx/datectrl.h"
#include "wx/calctrl.h"
#include "wx/popupwin.h"
#include "wx/calctrl.h"
#include "wx/popupwin.h"