X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/abd694417a84479d6e994f088ac2e1d76327dae0..abd474ea63667f727940a009cc3e0b23ba9f418f:/src/palmos/app.cpp?ds=sidebyside 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); } // ----------------------------------------------------------------------------