]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/logg.cpp
fix from Robert for extra refreshes
[wxWidgets.git] / src / generic / logg.cpp
index 1790b09bf57e6b8a366b715782329bf68935d2d6..7cfc3d16bb395d0ba532270bba898a6858a80e6c 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);
 }