- 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*)wxConvCurrent->cWX2MB(wxTheApp->argv[0]) );
+ fprintf( m_pstream, "%%%%CreationDate: %s\n", (const char *)wxNow().mb_str() );