From: Václav Slavík Date: Wed, 17 Mar 2004 22:51:41 +0000 (+0000) Subject: we need to output \r\n on MSW X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7e6f48d18c6173e0655120e50b66dace36f2d1c6 we need to output \r\n on MSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/msgout.cpp b/src/common/msgout.cpp index 12769bcd33..3d8d15fd64 100755 --- a/src/common/msgout.cpp +++ b/src/common/msgout.cpp @@ -120,6 +120,7 @@ void wxMessageOutputDebug::Printf(const wxChar* format, ...) #if defined(__WXMSW__) && !defined(__WXMICROWIN__) out.Replace(wxT("\t"), wxT(" ")); + out.Replace(wxT("\n"), wxT("\r\n")); ::OutputDebugString(out); #elif defined(__WXMAC__) && !defined(__DARWIN__) if ( wxIsDebuggerRunning() )