fixing 1877182

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2008-01-22 14:02:37 +00:00
parent e9267735a3
commit a47f55c5aa

View File

@ -179,7 +179,11 @@ static void ConvertArgsToUnicode(int argc, char **argv)
int wargc = 0;
for ( int i = 0; i < argc; i++ )
{
#ifdef __DARWIN__
wxWCharBuffer buf(wxConvFileName->cMB2WX(argv[i]));
#else
wxWCharBuffer buf(wxConvLocal.cMB2WX(argv[i]));
#endif
if ( !buf )
{
wxLogWarning(_("Command line argument %d couldn't be converted to Unicode and will be ignored."),