From 9fd239ad61686946e7c3455d24089a2d985a9561 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 19 Jun 1998 15:55:51 +0000 Subject: [PATCH] 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 --- src/common/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__ -- 2.45.2