diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index 4b21c7fcd2..49b0f8f1b0 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -1041,7 +1041,7 @@ wxDefaultAssertHandler(const wxString& file, { // If this option is set, we should abort immediately when assert happens. if ( wxSystemOptions::GetOptionInt("exit-on-assert") ) - abort(); + wxAbort(); // FIXME MT-unsafe static int s_bInAssert = 0;