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:
@@ -828,7 +828,7 @@ void wxOnAssert(const char *szFile, int nLine, const char *szMsg)
|
|||||||
"\nYou can also choose [Cancel] to suppress "
|
"\nYou can also choose [Cancel] to suppress "
|
||||||
"further warnings."));
|
"further warnings."));
|
||||||
|
|
||||||
switch ( wxMessageBox(_("Debug"), szBuf,
|
switch ( wxMessageBox(szBuf, _("Debug"),
|
||||||
wxYES_NO | wxCANCEL | wxICON_STOP ) ) {
|
wxYES_NO | wxCANCEL | wxICON_STOP ) ) {
|
||||||
case wxYES:
|
case wxYES:
|
||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
|
Reference in New Issue
Block a user