Visible wxMessageOutputDebug instance.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -550,7 +550,8 @@ void wxLogBuffer::DoLog(wxLogLevel level, const wxChar *szString, time_t t)
|
|||||||
TimeStamp(&str);
|
TimeStamp(&str);
|
||||||
str += szString;
|
str += szString;
|
||||||
|
|
||||||
wxMessageOutputDebug().Printf(_T("%s\n"), str.c_str());
|
wxMessageOutputDebug dbgout;
|
||||||
|
dbgout.Printf(_T("%s\n"), str.c_str());
|
||||||
}
|
}
|
||||||
#endif // __WXDEBUG__
|
#endif // __WXDEBUG__
|
||||||
break;
|
break;
|
||||||
@@ -794,7 +795,7 @@ const wxChar *wxSysErrorMsg(unsigned long nErrCode)
|
|||||||
// if this happens, something is seriously wrong, so don't use _() here
|
// if this happens, something is seriously wrong, so don't use _() here
|
||||||
// for safety
|
// for safety
|
||||||
wxSprintf(s_szBuf, _T("unknown error %lx"), nErrCode);
|
wxSprintf(s_szBuf, _T("unknown error %lx"), nErrCode);
|
||||||
return s_szBuf;
|
return s_szBuf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user