]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for previous commit
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 5 Apr 2007 21:47:35 +0000 (21:47 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 5 Apr 2007 21:47:35 +0000 (21:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/dcpsg.cpp

index 0f0ded3abd03039319eba902be2be95a9b055a4d..e676e498968ee7ecd035e416adb30675f08b9685 100644 (file)
@@ -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();