SIM_PLOT_FRAME::NewPlot() -> SIM_PLOT_FRAME::NewPlotPanel()

This commit is contained in:
Maciej Suminski 2016-08-11 14:41:17 +02:00
parent 8a6e6f2d36
commit 8fdb9e8307
2 changed files with 4 additions and 4 deletions

View File

@ -102,7 +102,7 @@ SIM_PLOT_FRAME::SIM_PLOT_FRAME( KIWAY* aKiway, wxWindow* aParent )
Connect( wxEVT_SIM_REPORT, wxThreadEventHandler( SIM_PLOT_FRAME::onSimReport ), NULL, this ); Connect( wxEVT_SIM_REPORT, wxThreadEventHandler( SIM_PLOT_FRAME::onSimReport ), NULL, this );
Connect( wxEVT_SIM_FINISHED, wxThreadEventHandler( SIM_PLOT_FRAME::onSimFinished ), NULL, this ); Connect( wxEVT_SIM_FINISHED, wxThreadEventHandler( SIM_PLOT_FRAME::onSimFinished ), NULL, this );
NewPlot(); NewPlotPanel();
} }
@ -191,7 +191,7 @@ void SIM_PLOT_FRAME::StopSimulation()
} }
void SIM_PLOT_FRAME::NewPlot() void SIM_PLOT_FRAME::NewPlotPanel()
{ {
SIM_PLOT_PANEL* plot = new SIM_PLOT_PANEL( this, wxID_ANY ); SIM_PLOT_PANEL* plot = new SIM_PLOT_PANEL( this, wxID_ANY );
m_plotNotebook->AddPage( plot, m_plotNotebook->AddPage( plot,

View File

@ -59,7 +59,7 @@ class SIM_PLOT_FRAME : public SIM_PLOT_FRAME_BASE
void ResumeSimulation(); void ResumeSimulation();
void StopSimulation(); void StopSimulation();
void NewPlot(); void NewPlotPanel();
void AddVoltagePlot( const wxString& aNetName ); void AddVoltagePlot( const wxString& aNetName );
private: private:
@ -67,7 +67,7 @@ class SIM_PLOT_FRAME : public SIM_PLOT_FRAME_BASE
void onNewPlot( wxCommandEvent& aEvent ) override void onNewPlot( wxCommandEvent& aEvent ) override
{ {
NewPlot(); NewPlotPanel();
} }
void onSignalDblClick( wxCommandEvent& event ) override; void onSignalDblClick( wxCommandEvent& event ) override;