suppress new lines in the details pane

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-07-06 16:58:00 +00:00
parent feef1ecf07
commit 786c4e23f5

View File

@@ -717,16 +717,11 @@ wxLogDialog::wxLogDialog(wxWindow *parent,
for ( size_t n = 0; n < count; n++ ) for ( size_t n = 0; n < count; n++ )
{ {
wxString msg = messages[n]; wxString msg = messages[n];
do msg.Replace("\n", " ");
{ m_messages.Add(msg);
m_messages.Add(msg.BeforeFirst(_T('\n')));
msg = msg.AfterFirst(_T('\n'));
m_severity.Add(severity[n]); m_severity.Add(severity[n]);
m_times.Add(times[n]); m_times.Add(times[n]);
} }
while ( !!msg );
}
m_showingDetails = false; // not initially m_showingDetails = false; // not initially
m_listctrl = (wxListCtrl *)NULL; m_listctrl = (wxListCtrl *)NULL;