Rearranged SIM_PLOT_FRAME, changed console log from wxRichTextCtrl to wxTextCtrl

This commit is contained in:
Maciej Suminski
2016-08-11 14:41:35 +02:00
parent e90fcaa6d9
commit 90b6112c5d
4 changed files with 206 additions and 196 deletions
+3 -3
View File
@@ -532,9 +532,9 @@ void SIM_PLOT_FRAME::onSimFinished( wxCommandEvent& aEvent )
void SIM_PLOT_FRAME::onSimReport( wxCommandEvent& aEvent )
{
m_simConsole->AppendText( aEvent.GetString() );
m_simConsole->Newline();
m_simConsole->MoveEnd(); /// @todo does not work..
std::cout << aEvent.GetString() << std::endl;
m_simConsole->AppendText( aEvent.GetString() + "\n" );
m_simConsole->SetInsertionPointEnd();
}