]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/main.cpp
added wxGLCanvas::IsDisplaySupported() (patch 1879906)
[wxWidgets.git] / src / palmos / main.cpp
index d1ca47947240c9b49402907dd552950bcdd9996c..2c4f957771865b993d99bc6144b438ac1df699a9 100644 (file)
@@ -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