fixing 1877182
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e9267735a3
commit
a47f55c5aa
@ -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."),
|
||||
|
Loading…
Reference in New Issue
Block a user