]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/logg.cpp
1. some more tests in console
[wxWidgets.git] / src / generic / logg.cpp
index 1790b09bf57e6b8a366b715782329bf68935d2d6..d52e34447d332cbd732b280d2c8ff32b6a8b9ac1 100644 (file)
@@ -196,7 +196,11 @@ void wxLogTextCtrl::DoLogString(const wxChar *szString, time_t WXUNUSED(t))
 {
     wxString msg;
     TimeStamp(&msg);
+#ifdef __WXMAC__
+    msg << szString << wxT('\r');
+#else
     msg << szString << wxT('\n');
+#endif
 
     m_pTextCtrl->AppendText(msg);
 }
@@ -347,7 +351,7 @@ void wxLogGui::DoLog(wxLogLevel level, const wxChar *szString, time_t t)
                     // debug window anyhow, but do put a timestamp
                     wxString str;
                     TimeStamp(&str);
-                    str << szString << wxT("\n\r");
+                    str << szString << wxT("\r\n");
                     OutputDebugString(str);
                 #else
                     // send them to stderr