Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b7047aa5cb
commit
a2a6aef2bf
@ -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();
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user