X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4de7e8ccf4bf69d150c29c9a3d53e5754c8b8a9..39a77f4cd9fd4494047682db3702b159e251a7d1:/src/common/init.cpp diff --git a/src/common/init.cpp b/src/common/init.cpp index 80e2c7bc5e..459d37a7cc 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -312,7 +312,7 @@ bool wxEntryStart(int& argc, char **argv) // clean up // ---------------------------------------------------------------------------- -// cleanup done before destroying wxTheApp +// cleanup done before destroying wxTheApp static void DoCommonPreCleanup() { #if wxUSE_LOG @@ -433,6 +433,8 @@ int wxEntry(int& argc, wxChar **argv) { #ifdef __WXWINCE__ ::ExitThread(3); // the same exit code as abort() +#elif __PALMOS__ + return -1; #else ::ExitProcess(3); // the same exit code as abort() #endif