The mac text ctrl wants '/r' from the log system for line breaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d467e0c72d
commit
b0f1bf1c51
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user