From: Julian Smart Date: Wed, 18 Jan 2006 13:20:40 +0000 (+0000) Subject: Applied patch [ 1334242 ] wxLogStream::DoLogString fix for unicode builds X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/416f976440fcf4e0d2ef915654803408388ab05e Applied patch [ 1334242 ] wxLogStream::DoLogString fix for unicode builds git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/log.cpp b/src/common/log.cpp index a6a941d53e..252c6b09bb 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -617,7 +617,7 @@ void wxLogStream::DoLogString(const wxChar *szString, time_t WXUNUSED(t)) { wxString str; TimeStamp(&str); - (*m_ostr) << str << wxConvertWX2MB(szString) << wxSTD endl; + (*m_ostr) << wxConvertWX2MB(str) << wxConvertWX2MB(szString) << wxSTD endl; } #endif // wxUSE_STD_IOSTREAM