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:
Mattia Barbon 2001-11-22 09:10:12 +00:00
parent 9298c435cf
commit 50d0b061ee
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -1577,7 +1577,7 @@ bool wxPostScriptDC::StartDoc( const wxString& message )
m_printData.SetFilename(filename);
}
m_pstream = fopen( m_printData.GetFilename().fn_str(), "w+" );
m_pstream = wxFopen( m_printData.GetFilename().fn_str(), wxT("w+") );
if (!m_pstream)
{