X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/abd694417a84479d6e994f088ac2e1d76327dae0..94e0018723919fe2ca2f5b5f0a42804c16dbf3a1:/src/palmos/app.cpp diff --git a/src/palmos/app.cpp b/src/palmos/app.cpp index 9c09f2336f..5e78e97f62 100644 --- a/src/palmos/app.cpp +++ b/src/palmos/app.cpp @@ -104,10 +104,12 @@ void wxGUIAppTraits::AfterChildWaitLoop(void *dataOrig) { } +#if wxUSE_THREADS bool wxGUIAppTraits::DoMessageFromThreadWait() { return false; } +#endif // wxUSE_THREADS wxPortId wxGUIAppTraits::GetToolkitVersion(int *majVer, int *minVer) const { @@ -209,8 +211,7 @@ void wxApp::CleanUp() // unregister the classes now UnregisterWindowClasses(); - delete wxWinHandleHash; - wxWinHandleHash = NULL; + wxDELETE(wxWinHandleHash); } // ----------------------------------------------------------------------------