X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04ab8b6ddfa26fbabeadad36966a21a42fe649b1..75aa53c9271f110e431a113529bffae8e79bbe3b:/src/common/dcsvg.cpp diff --git a/src/common/dcsvg.cpp b/src/common/dcsvg.cpp index 92f539abaf..4810844b53 100644 --- a/src/common/dcsvg.cpp +++ b/src/common/dcsvg.cpp @@ -666,7 +666,7 @@ void wxSVGFileDC::DoDrawBitmap(const class wxBitmap & bmp, wxCoord x, wxCoord y void wxSVGFileDC::write(const wxString &s) { - const wxWX2MBbuf buf = s.mb_str(wxConvUTF8); + const wxCharBuffer buf = s.utf8_str(); m_outfile->Write(buf, strlen((const char *)buf)); m_OK = m_outfile->Ok(); }