]> git.saurik.com Git - wxWidgets.git/commitdiff
The mac text ctrl wants '/r' from the log system for line breaks.
authorRobert Roebling <robert@roebling.de>
Sat, 19 Aug 2000 08:59:50 +0000 (08:59 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 19 Aug 2000 08:59:50 +0000 (08:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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);
 }