X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbf3cd7a2b2774d48eeba02b164714653c6a02cd..eda61172d06869da6cb1cfc9700cd44962078e5c:/src/common/log.cpp diff --git a/src/common/log.cpp b/src/common/log.cpp index 2f8b2c0a0a..f9729d48d2 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -405,7 +405,7 @@ wxLogStream::wxLogStream(ostream *ostr) void wxLogStream::DoLogString(const wxChar *szString, time_t WXUNUSED(t)) { - (*m_ostr) << wxConv_libc.cWX2MB(szString) << endl << flush; + (*m_ostr) << wxConvCurrent->cWX2MB(szString) << endl << flush; } #endif // wxUSE_STD_IOSTREAM @@ -972,7 +972,7 @@ const wxChar *wxSysErrorMsg(unsigned long nErrCode) #else // Unix #if wxUSE_UNICODE static wxChar s_szBuf[LOG_BUFFER_SIZE / 2]; - wxConv_libc.MB2WC(s_szBuf, strerror(nErrCode), WXSIZEOF(s_szBuf) -1); + wxConvCurrent->MB2WC(s_szBuf, strerror(nErrCode), WXSIZEOF(s_szBuf) -1); return s_szBuf; #else return strerror(nErrCode);