]> git.saurik.com Git - wxWidgets.git/commitdiff
put wxMessageBox() arguments in OnAssert() in the right order
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 19 Jun 1998 15:55:51 +0000 (15:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 19 Jun 1998 15:55:51 +0000 (15:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/log.cpp

index 03fb354749632d917829672d7b680f76e7c634f1..5c4b30f179221e4be41b5a2887bb544fd2ae4cde 100644 (file)
@@ -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__