X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/38bb138f09688c1575766aafdbf296dfeeee0d7d..8bebc229c7aa9a57fdb4b4955bbe23cd1a44f54a:/src/common/appbase.cpp?ds=sidebyside diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index 9b7e921da8..1ba660b4f3 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -93,6 +93,10 @@ wxAppConsole *wxAppConsole::ms_appInstance = NULL; wxAppInitializerFunction wxAppConsole::ms_appInitFn = NULL; +#ifdef __WXMAC__ +bool wxAppConsole::s_macDefaultEncodingIsPC = true ; +#endif + // ============================================================================ // wxAppConsole implementation // ============================================================================ @@ -371,10 +375,10 @@ bool wxAppConsole::CheckBuildOptions(const char *optionsSignature, wxString prog = wxString::FromAscii(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); // normally wxLogFatalError doesn't return @@ -392,7 +396,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__ @@ -456,7 +460,7 @@ void wxConsoleAppTraitsBase::RemoveFromPendingDelete(wxObject * WXUNUSED(object) { // nothing to do } - + #if wxUSE_SOCKETS GSocketGUIFunctionsTable* wxConsoleAppTraitsBase::GetSocketGUIFunctionsTable() { @@ -533,7 +537,7 @@ void wxAssert(int cond, const wxChar *szFile, int nLine, const wxChar *szCond, - const wxChar *szMsg) + const wxChar *szMsg) { if ( !cond ) wxOnAssert(szFile, nLine, szCond, szMsg);