X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c44ec973759a24442c3e97f3db7ad4fa5005928..698b34facdbae62cce6b2c9837e698ef9c3fbe8c:/src/common/log.cpp diff --git a/src/common/log.cpp b/src/common/log.cpp index 6d6bfde0bd..7796bf94d4 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -367,10 +367,6 @@ void WXDLLEXPORT wxLogSysError(long lErrCode, const wxChar *szFormat, ...) // wxLog class implementation // ---------------------------------------------------------------------------- -wxLog::wxLog() -{ -} - wxChar *wxLog::SetLogBuffer( wxChar *buf, size_t size) { wxChar *oldbuf = s_szBuf; @@ -558,7 +554,8 @@ void wxLogStderr::DoLogString(const wxChar *szString, time_t WXUNUSED(t)) wxAppTraits *traits = wxTheApp ? wxTheApp->GetTraits() : NULL; if ( traits && !traits->HasStderr() ) { - wxMessageOutputDebug().Printf(_T("%s"), str.c_str()); + wxMessageOutputDebug dbgout; + dbgout.Printf(_T("%s"), str.c_str()); } } }