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
This commit is contained in:
parent
6367c8394c
commit
9fd239ad61
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user