X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11aac4baa6172481674b017e8529ad7ef18758fd..96ad3e4eb49763a433e5919fdd37cf44bbf2d657:/src/generic/dcpsg.cpp diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index 0f0ded3abd..e676e49896 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -2211,7 +2211,7 @@ void wxPostScriptDC::DoPsPrintfFormat(const wxChar *fmt, ... ) void wxPostScriptDC::PsPrint( const wxString& str ) { - wxWX2MBbuf psdata(str.mb_str(wxConvUTF8)); + const wxWX2MBbuf psdata(str.mb_str(wxConvUTF8)); wxPostScriptPrintNativeData *data = (wxPostScriptPrintNativeData *) m_printData.GetNativeData();