From: Vadim Zeitlin Date: Fri, 19 Jun 1998 15:55:51 +0000 (+0000) Subject: put wxMessageBox() arguments in OnAssert() in the right order X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9fd239ad61686946e7c3455d24089a2d985a9561 put wxMessageBox() arguments in OnAssert() in the right order git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/log.cpp b/src/common/log.cpp index 03fb354749..5c4b30f179 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -828,7 +828,7 @@ void wxOnAssert(const char *szFile, int nLine, const char *szMsg) "\nYou can also choose [Cancel] to suppress " "further warnings.")); - switch ( wxMessageBox(_("Debug"), szBuf, + switch ( wxMessageBox(szBuf, _("Debug"), wxYES_NO | wxCANCEL | wxICON_STOP ) ) { case wxYES: #ifdef __WINDOWS__