Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user