X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1bcf0c7d6ea7c1a7f64c7b1b6564f7d75e1cfbfa..f7db440e1f01702901bf9a54be26ec4dc6b69561:/src/generic/calctrl.cpp?ds=inline diff --git a/src/generic/calctrl.cpp b/src/generic/calctrl.cpp index e6341247b3..8813954b64 100644 --- a/src/generic/calctrl.cpp +++ b/src/generic/calctrl.cpp @@ -824,7 +824,7 @@ void wxCalendarCtrl::OnPaint(wxPaintEvent& WXUNUSED(event)) // Get extent of month-name + year wxCoord monthw, monthh; - wxString headertext = m_date.Format("%B %Y"); + wxString headertext = m_date.Format(wxT("%B %Y")); dc.GetTextExtent(headertext, &monthw, &monthh); // draw month-name centered above weekdays