From: Václav Slavík Date: Thu, 5 Apr 2007 21:47:35 +0000 (+0000) Subject: compilation fix for previous commit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5064e6eff3ca35cb20130dc9e5e53fb3ac02127e compilation fix for previous commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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();