Spice simulator: code formatting

This commit is contained in:
Maciej Suminski 2018-03-21 17:20:35 +01:00
parent 33620ecc85
commit 50053e7f27
2 changed files with 14 additions and 15 deletions

View File

@ -1115,16 +1115,15 @@ void SIM_PLOT_FRAME::onShowNetlist( wxCommandEvent& event )
sizer->Add( text, 1, wxEXPAND );
SetSizer( sizer );
Connect(wxEVT_CLOSE_WINDOW, wxCloseEventHandler(NETLIST_VIEW_DIALOG::onClose), NULL, this);
Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( NETLIST_VIEW_DIALOG::onClose ), NULL,
this );
}
};
if( m_schematicFrame == NULL || m_simulator == NULL )
return;
NETLIST_VIEW_DIALOG dlg( this, m_simulator->GetNetlist() );
dlg.ShowModal();
}

View File

@ -25,8 +25,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __sim_plot_frame__
#define __sim_plot_frame__
#ifndef __SIM_PLOT_FRAME__
#define __SIM_PLOT_FRAME__
/**
* @file sim_plot_frame.h