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:
@@ -717,15 +717,10 @@ 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')));
|
m_severity.Add(severity[n]);
|
||||||
msg = msg.AfterFirst(_T('\n'));
|
m_times.Add(times[n]);
|
||||||
|
|
||||||
m_severity.Add(severity[n]);
|
|
||||||
m_times.Add(times[n]);
|
|
||||||
}
|
|
||||||
while ( !!msg );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m_showingDetails = false; // not initially
|
m_showingDetails = false; // not initially
|
||||||
|
Reference in New Issue
Block a user