Unicode fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1460,9 +1460,9 @@ void wxPostScriptDC::EndDoc ()
|
|||||||
m_pstream = fopen( wxConvFile.cWX2MB(header_file) , "w+" );
|
m_pstream = fopen( wxConvFile.cWX2MB(header_file) , "w+" );
|
||||||
|
|
||||||
fprintf( m_pstream, "%%!PS-Adobe-2.0\n" ); // PostScript magic strings
|
fprintf( m_pstream, "%%!PS-Adobe-2.0\n" ); // PostScript magic strings
|
||||||
fprintf( m_pstream, "%%%%Title: %s\n", m_title.mb_str() );
|
fprintf( m_pstream, "%%%%Title: %s\n", (const char *)m_title.mb_str() );
|
||||||
fprintf( m_pstream, "%%%%Creator: %s\n", wxTheApp->argv[0] );
|
fprintf( m_pstream, "%%%%Creator: %s\n", (const char*)wxConvLibc.cWX2MB(wxTheApp->argv[0]) );
|
||||||
fprintf( m_pstream, "%%%%CreationDate: %s\n", wxNow().mb_str() );
|
fprintf( m_pstream, "%%%%CreationDate: %s\n", (const char *)wxNow().mb_str() );
|
||||||
|
|
||||||
wxChar userID[256];
|
wxChar userID[256];
|
||||||
if ( wxGetEmailAddress(userID, sizeof(userID)) )
|
if ( wxGetEmailAddress(userID, sizeof(userID)) )
|
||||||
|
Reference in New Issue
Block a user