ecRunTestsDialog* pWnd = (ecRunTestsDialog*)pParam;
if (ecRunTestsDialog::m_runTestsDialog)
{
- // FIXME: test output should not contain CR characters on non-Windows
- // platforms so need to find the root of this problem
-#ifndef __WXMSW__
- wxString output(psz);
- output.Replace(wxT("\r"), wxEmptyString); // remove CR characters
- pWnd->OutputToBuffer(output);
-#else
- // FIXME ends
pWnd->OutputToBuffer(psz);
-#endif
}
}
{
wxSizer *item0 = new wxBoxSizer( wxVERTICAL );
- wxTextCtrl *item1 = new wxTextCtrl( parent, ecID_RUN_TESTS_OUTPUT_TEXT, "", wxDefaultPosition, wxSize(80,40), wxTE_MULTILINE|wxTE_READONLY|wxTE_RICH|wxCLIP_CHILDREN );
+ wxTextCtrl *item1 = new wxTextCtrl( parent, ecID_RUN_TESTS_OUTPUT_TEXT, "", wxDefaultPosition, wxSize(80,40), wxTE_MULTILINE );
item0->Add( item1, 1, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
// Add context-sensitive help