From: Gilles Depeyrot Date: Mon, 5 Nov 2001 21:08:03 +0000 (+0000) Subject: use Unix line ending when compiled when the Apple DevTools X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/612500804ca54d97106f90f0a8bfa2ad6eeb42e4 use Unix line ending when compiled when the Apple DevTools git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index 6a12263b57..a0ff4d3672 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -1076,7 +1076,7 @@ void wxLogTextCtrl::DoLogString(const wxChar *szString, time_t WXUNUSED(t)) wxString msg; TimeStamp(&msg); -#ifdef __WXMAC__ +#if defined(__WXMAC__) && !defined(__DARWIN__) // 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');