Compilation fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2003-09-11 20:50:11 +00:00
parent b7047aa5cb
commit a2a6aef2bf
2 changed files with 2 additions and 2 deletions

View File

@ -840,7 +840,7 @@ wxCoord wxSVGFileDC::LogicalToDeviceYRel(wxCoord y) const
void wxSVGFileDC::write(const wxString &s)
{
wxWX2MBbuf buf = s.mb_str(wxConvUTF8);
const wxWX2MBbuf buf = s.mb_str(wxConvUTF8);
m_outfile->Write(buf, strlen((const char *)buf));
m_OK = m_outfile->Ok();
}

View File

@ -840,7 +840,7 @@ wxCoord wxSVGFileDC::LogicalToDeviceYRel(wxCoord y) const
void wxSVGFileDC::write(const wxString &s)
{
wxWX2MBbuf buf = s.mb_str(wxConvUTF8);
const wxWX2MBbuf buf = s.mb_str(wxConvUTF8);
m_outfile->Write(buf, strlen((const char *)buf));
m_OK = m_outfile->Ok();
}