X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5f85206a9b4b8771015022adfcc58cde08a0936..a22895511a250173cf7dd4403fc89f293a898067:/src/common/datetime.cpp diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index 0a58ed3f86..8346806913 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -4602,7 +4602,7 @@ WXDLLIMPEXP_BASE void wxPrevWDay(wxDateTime::WeekDay& wd) wxDateTime& wxDateTime::SetFromMSWSysTime(const SYSTEMTIME& st) { return Set(st.wDay, - wx_static_cast(wxDateTime::Month, wxDateTime::Jan + st.wMonth - 1), + static_cast(wxDateTime::Jan + st.wMonth - 1), st.wYear, 0, 0, 0); }