From: Ove Kaaven Date: Fri, 23 Jul 1999 09:42:31 +0000 (+0000) Subject: Unicode fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/aece0491ee47ba60c8bf7ed8f8482e39d1c5cc59 Unicode fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index 3a0608b9e9..8fb105fc8f 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -1460,9 +1460,9 @@ void wxPostScriptDC::EndDoc () m_pstream = fopen( wxConvFile.cWX2MB(header_file) , "w+" ); fprintf( m_pstream, "%%!PS-Adobe-2.0\n" ); // PostScript magic strings - fprintf( m_pstream, "%%%%Title: %s\n", m_title.mb_str() ); - fprintf( m_pstream, "%%%%Creator: %s\n", wxTheApp->argv[0] ); - fprintf( m_pstream, "%%%%CreationDate: %s\n", wxNow().mb_str() ); + fprintf( m_pstream, "%%%%Title: %s\n", (const char *)m_title.mb_str() ); + fprintf( m_pstream, "%%%%Creator: %s\n", (const char*)wxConvLibc.cWX2MB(wxTheApp->argv[0]) ); + fprintf( m_pstream, "%%%%CreationDate: %s\n", (const char *)wxNow().mb_str() ); wxChar userID[256]; if ( wxGetEmailAddress(userID, sizeof(userID)) )