]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appbase.cpp
using common notification mechanism for selection changes (key or mouse), see #10406
[wxWidgets.git] / src / common / appbase.cpp
index 77820cd5bb8fb74e43055029baa76c62cf5e396f..c8ec12a388bfaa0a50038e86d6a6284032dbce58 100644 (file)
@@ -535,7 +535,7 @@ void wxAppConsoleBase::DeletePendingEvents()
 
 bool wxAppConsoleBase::IsScheduledForDestruction(wxObject *object) const
 {
-    return wxPendingDelete.Member(object) != NULL;
+    return wxPendingDelete.Member(object);
 }
 
 void wxAppConsoleBase::ScheduleForDestruction(wxObject *object)
@@ -1046,6 +1046,11 @@ wxDefaultAssertHandler(const wxString& file,
 
 wxAssertHandler_t wxTheAssertHandler = wxDefaultAssertHandler;
 
+void wxSetDefaultAssertHandler()
+{
+    wxTheAssertHandler = wxDefaultAssertHandler;
+}
+
 void wxOnAssert(const wxString& file,
                 int line,
                 const wxString& func,