X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eca0692c77cce1e8195094feb627cbe753eb30ab..e6e9293af3806a86f9b4fbf55b81aa7fc623cf5d:/src/common/datetime.cpp?ds=inline diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index 31d6a2ad18..5f7f6931e2 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -1811,6 +1811,7 @@ wxDateTime::SetToWeekOfYear(int year, wxDateTime_t numWeek, WeekDay wd) return dt; } +#if WXWIN_COMPATIBILITY_2_6 // use a separate function to avoid warnings about using deprecated // SetToTheWeek in GetWeek below static wxDateTime @@ -1848,6 +1849,7 @@ wxDateTime wxDateTime::GetWeek(wxDateTime_t numWeek, { return ::SetToTheWeek(GetYear(), numWeek, weekday, flags); } +#endif // WXWIN_COMPATIBILITY_2_6 wxDateTime& wxDateTime::SetToLastMonthDay(Month month, int year)