X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/38bb138f09688c1575766aafdbf296dfeeee0d7d..caff62f22d16af7350d86151929dae99ebb36182:/src/common/appbase.cpp diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index 9b7e921da8..f19e5e4ce2 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -372,7 +372,7 @@ bool wxAppConsole::CheckBuildOptions(const char *optionsSignature, wxString progName = wxString::FromAscii(componentName); wxString msg; - msg.Printf(_T("Mismatch between the program and library build versions detected.\nThe library used %s, and %s used %s."), + msg.Printf(_T("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."), lib.c_str(), progName.c_str(), prog.c_str()); wxLogFatalError(msg); @@ -392,7 +392,7 @@ void wxAppConsole::OnAssert(const wxChar *file, const wxChar *cond, const wxChar *msg) { - ShowAssertDialog(file, line, cond, msg, m_traits); + ShowAssertDialog(file, line, cond, msg, GetTraits()); } #endif // __WXDEBUG__