]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/msgout.cpp
wxTaskBarIcon::OnXXX virtual methods are deprecated, document it
[wxWidgets.git] / src / common / msgout.cpp
index 961e0c4614838533e3b284fa1b3d438ea6b18d36..04f6e93115570e31d77894d993cf6defb2ffa0a6 100755 (executable)
@@ -5,7 +5,7 @@
 // Modified by:
 // Created:     17.07.02
 // RCS-ID:      $Id$
-// Copyright:   (c) the wxWindows team
+// Copyright:   (c) the wxWidgets team
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -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() )