From: Gilles Depeyrot Date: Fri, 3 May 2002 20:15:48 +0000 (+0000) Subject: wxTextCtrl bug related to \n handling is Carbon related and is therefore X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a95bd96b46d68605badf5b338a0fdb53c817b502?ds=sidebyside wxTextCtrl bug related to \n handling is Carbon related and is therefore common to CodeWarrior builds and Apple DevTools builds git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index 345cb33530..254439bfc4 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -1104,7 +1104,7 @@ void wxLogTextCtrl::DoLogString(const wxChar *szString, time_t WXUNUSED(t)) wxString msg; TimeStamp(&msg); -#if defined(__WXMAC__) && !defined(__DARWIN__) +#if defined(__WXMAC__) // VZ: this is a bug in wxMac, it *must* accept '\n' as new line, the // translation must be done in wxTextCtrl, not here! (FIXME) msg << szString << wxT('\r');