X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f432e6777dbd45c868c411397010d9f315687de3..0738b901b17340f09766524b8d9d79e9ed1268e7:/src/common/appbase.cpp?ds=inline diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index 77820cd5bb..c8ec12a388 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -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,