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:
parent
9298c435cf
commit
50d0b061ee
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user