X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c33522fca7cddc441a316f5b9fb50d7685435ba..43c5b6e808f083617eb42cb48e77366844f8fb5c:/src/msw/calctrl.cpp?ds=sidebyside diff --git a/src/msw/calctrl.cpp b/src/msw/calctrl.cpp index dc18f88615..842efa50c6 100644 --- a/src/msw/calctrl.cpp +++ b/src/msw/calctrl.cpp @@ -230,7 +230,7 @@ bool wxCalendarCtrl::SetDate(const wxDateTime& dt) wxDateTime wxCalendarCtrl::GetDate() const { -#ifdef __WXDEBUG__ +#if wxDEBUG_LEVEL SYSTEMTIME st; if ( !MonthCal_GetCurSel(GetHwnd(), &st) ) { @@ -242,7 +242,7 @@ wxDateTime wxCalendarCtrl::GetDate() const wxDateTime dt(st); wxASSERT_MSG( dt == m_date, "mismatch between data and control" ); -#endif // __WXDEBUG__ +#endif // wxDEBUG_LEVEL return m_date; }