X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e484468721a4e8e0099a363deee468e44d89294a..a63d48fa138e9eaa3079172ace9a804ba5b0415e:/src/common/msgout.cpp diff --git a/src/common/msgout.cpp b/src/common/msgout.cpp index 961e0c4614..3d8d15fd64 100755 --- a/src/common/msgout.cpp +++ b/src/common/msgout.cpp @@ -120,7 +120,7 @@ void wxMessageOutputDebug::Printf(const wxChar* format, ...) #if defined(__WXMSW__) && !defined(__WXMICROWIN__) out.Replace(wxT("\t"), wxT(" ")); - out += _T("\r\n"); + out.Replace(wxT("\n"), wxT("\r\n")); ::OutputDebugString(out); #elif defined(__WXMAC__) && !defined(__DARWIN__) if ( wxIsDebuggerRunning() )