X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/670f9935630beb2123a5ca62894ae92a3f0efa4f..0af07cc24519a07e1948169568c979fea7465ce2:/src/palmos/main.cpp diff --git a/src/palmos/main.cpp b/src/palmos/main.cpp index d1ca479472..2c4f957771 100644 --- a/src/palmos/main.cpp +++ b/src/palmos/main.cpp @@ -48,12 +48,12 @@ int wxEntry() */ wxArrayString args; int argc = args.GetCount(); - // +1 here for the terminating NULL wxChar **argv = new wxChar *[argc + 1]; for ( int i = 0; i < argc; i++ ) { - argv[i] = wxStrdup(args[i]); + //argv[i] = wxStrdup(args[i]); + argv[i] = wxStrdup(wxConvLibc.cMB2WX(args[i])); } // argv[] must be NULL-terminated