]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/app.cpp
Derive wxWebViewEvent from wxNotifyEvent.
[wxWidgets.git] / src / palmos / app.cpp
index 9c09f2336fb877e0022c9bc00af0066de8495c21..5e78e97f62ea76750ce8b1b45a8824bad97108eb 100644 (file)
@@ -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);
 }
 
 // ----------------------------------------------------------------------------