]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/msgout.cpp
use best size instead of hard coded 80*26 in SetSize(wxSIZE_AUTO)
[wxWidgets.git] / src / common / msgout.cpp
index 961e0c4614838533e3b284fa1b3d438ea6b18d36..3d8d15fd6462f1ead33a17718d33f9bae782b4b0 100755 (executable)
@@ -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() )