X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04662def27c4227f8372084167e3a37729c048b9..33980f0da63a5c78e88df40d39b010fbe33d867a:/src/common/log.cpp?ds=sidebyside diff --git a/src/common/log.cpp b/src/common/log.cpp index 182246bdb0..510b939984 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -168,7 +168,7 @@ void wxVLogFatalError(const wxChar *szFormat, va_list argptr) #if wxUSE_GUI wxMessageBox(s_szBuf, _("Fatal Error"), wxID_OK | wxICON_STOP); #else - fprintf(stderr, _("Fatal error: %s\n"), s_szBuf); + wxFprintf(stderr, _("Fatal error: %s\n"), s_szBuf); #endif abort(); @@ -246,7 +246,7 @@ void wxLogVerbose(const wxChar *szFormat, ...) p += 2; wxVsnprintf(p, len, szFormat, argptr); - + wxLog::OnLog(wxLOG_Trace, s_szBuf, time(NULL)); } } @@ -349,7 +349,7 @@ wxLog::wxLog() m_bHasMessages = FALSE; } -wxChar *wxLog::SetLogBuffer( wxChar *buf, size_t size = 0 ) +wxChar *wxLog::SetLogBuffer( wxChar *buf, size_t size) { wxChar *oldbuf = s_szBuf; @@ -561,7 +561,7 @@ Boolean IsCompatibleVersion(short inVersion) result = (inVersion <= block->apiHiVersion); } - return result; + return result; } /* ---------------------------------------------------------------------------