]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/calctrl.cpp
Store pointer to owning wxWindow in wxPizza widget
[wxWidgets.git] / src / msw / calctrl.cpp
index 3b96095ac95ca874bfdf8893daaafd75d939dc0e..dc18f88615b44f778c05ca9f143953a958d3aa9c 100644 (file)
@@ -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<wxDateTime::WeekDay>(hti.st.wDayOfWeek);
             }
             return wxCAL_HITTEST_HEADER;