]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/main.cpp
Change wxNotebook selection before sending page changed event in wxMSW.
[wxWidgets.git] / src / palmos / main.cpp
index 4e75c85aff22be51864d88428f85133eeb80c167..7268bcc5f328ebc3f151e70e9e054f41baa6e7c6 100644 (file)
@@ -52,7 +52,7 @@ int wxEntry()
     // argv[] must be NULL-terminated
     argv[argc] = NULL;
 
-    return wxEntry(argc, argv);
+    return wxEntry(const_cast<int>(argc), argv);
 }
 
 #endif // wxUSE_GUI