X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2fc40b4786f7ae8c255ce1184441bd94d9554a0..ed7ec76de3e7dc4ccd0271d14b37e1017cad0db9:/src/palmos/main.cpp diff --git a/src/palmos/main.cpp b/src/palmos/main.cpp index 2c4f957771..4e75c85aff 100644 --- a/src/palmos/main.cpp +++ b/src/palmos/main.cpp @@ -43,18 +43,11 @@ int wxEntry() { - /* There is no command line in PalmOS. For now generate a fake arument + /* There is no command line in PalmOS. For now generate a fake argument * list. Later this may be changed to reflect the application launch code */ - wxArrayString args; - int argc = args.GetCount(); - // +1 here for the terminating NULL + static const int argc = 0; wxChar **argv = new wxChar *[argc + 1]; - for ( int i = 0; i < argc; i++ ) - { - //argv[i] = wxStrdup(args[i]); - argv[i] = wxStrdup(wxConvLibc.cMB2WX(args[i])); - } // argv[] must be NULL-terminated argv[argc] = NULL;