X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d9b6716925a786d2455033ccb8775569001b631..5c6aad4737c43ad32408132ab5e927679393c47e:/src/msw/calctrl.cpp diff --git a/src/msw/calctrl.cpp b/src/msw/calctrl.cpp index 3b96095ac9..dc18f88615 100644 --- a/src/msw/calctrl.cpp +++ b/src/msw/calctrl.cpp @@ -190,7 +190,7 @@ wxCalendarCtrl::HitTest(const wxPoint& pos, case MCHT_CALENDARDAY: if ( wd ) { - *wd = wx_static_cast(wxDateTime::WeekDay, hti.st.wDayOfWeek); + *wd = static_cast(hti.st.wDayOfWeek); } return wxCAL_HITTEST_HEADER;