2013-05-26 04:36:44 +00:00
///////////////////////////////////////////////////////////////////////////
2018-08-02 17:00:41 +00:00
// C++ code generated with wxFormBuilder (version Aug 2 2018)
2013-05-26 04:36:44 +00:00
// http://www.wxformbuilder.org/
//
2017-12-24 15:04:02 +00:00
// PLEASE DO *NOT* EDIT THIS FILE!
2013-05-26 04:36:44 +00:00
///////////////////////////////////////////////////////////////////////////
2018-05-30 10:52:19 +00:00
# include "widgets/wx_grid.h"
2018-03-18 21:37:27 +00:00
# include "dialog_edit_component_in_schematic_base.h"
2013-05-26 04:36:44 +00:00
///////////////////////////////////////////////////////////////////////////
2018-03-18 21:37:27 +00:00
DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE ( wxWindow * parent , wxWindowID id , const wxString & title , const wxPoint & pos , const wxSize & size , long style ) : DIALOG_SHIM ( parent , id , title , pos , size , style )
2013-05-26 04:36:44 +00:00
{
this - > SetSizeHints ( wxDefaultSize , wxDefaultSize ) ;
2017-03-30 11:22:05 +00:00
2013-05-26 04:36:44 +00:00
wxBoxSizer * mainSizer ;
mainSizer = new wxBoxSizer ( wxVERTICAL ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
wxStaticBoxSizer * sbFields ;
sbFields = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Fields " ) ) , wxVERTICAL ) ;
2017-03-30 11:22:05 +00:00
2018-08-02 17:00:41 +00:00
m_grid = new WX_GRID ( sbFields - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxBORDER_SIMPLE ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
// Grid
m_grid - > CreateGrid ( 4 , 11 ) ;
m_grid - > EnableEditing ( true ) ;
m_grid - > EnableGridLines ( true ) ;
m_grid - > EnableDragGridSize ( false ) ;
m_grid - > SetMargins ( 0 , 0 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
// Columns
m_grid - > SetColSize ( 0 , 72 ) ;
m_grid - > SetColSize ( 1 , 120 ) ;
m_grid - > SetColSize ( 2 , 48 ) ;
m_grid - > SetColSize ( 3 , 72 ) ;
m_grid - > SetColSize ( 4 , 72 ) ;
m_grid - > SetColSize ( 5 , 48 ) ;
m_grid - > SetColSize ( 6 , 48 ) ;
m_grid - > SetColSize ( 7 , 84 ) ;
m_grid - > SetColSize ( 8 , 84 ) ;
m_grid - > SetColSize ( 9 , 84 ) ;
m_grid - > SetColSize ( 10 , 84 ) ;
m_grid - > EnableDragColMove ( false ) ;
m_grid - > EnableDragColSize ( true ) ;
m_grid - > SetColLabelSize ( 22 ) ;
m_grid - > SetColLabelValue ( 0 , _ ( " Name " ) ) ;
m_grid - > SetColLabelValue ( 1 , _ ( " Value " ) ) ;
m_grid - > SetColLabelValue ( 2 , _ ( " Show " ) ) ;
m_grid - > SetColLabelValue ( 3 , _ ( " H Align " ) ) ;
m_grid - > SetColLabelValue ( 4 , _ ( " V Align " ) ) ;
m_grid - > SetColLabelValue ( 5 , _ ( " Italic " ) ) ;
m_grid - > SetColLabelValue ( 6 , _ ( " Bold " ) ) ;
m_grid - > SetColLabelValue ( 7 , _ ( " Text Size " ) ) ;
m_grid - > SetColLabelValue ( 8 , _ ( " Orientation " ) ) ;
m_grid - > SetColLabelValue ( 9 , _ ( " X Position " ) ) ;
m_grid - > SetColLabelValue ( 10 , _ ( " Y Position " ) ) ;
m_grid - > SetColLabelAlignment ( wxALIGN_CENTRE , wxALIGN_CENTRE ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
// Rows
m_grid - > EnableDragRowSize ( true ) ;
m_grid - > SetRowLabelSize ( 0 ) ;
m_grid - > SetRowLabelAlignment ( wxALIGN_CENTRE , wxALIGN_CENTRE ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
// Label Appearance
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
// Cell Defaults
m_grid - > SetDefaultCellAlignment ( wxALIGN_LEFT , wxALIGN_TOP ) ;
m_grid - > SetMinSize ( wxSize ( - 1 , 180 ) ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
sbFields - > Add ( m_grid , 1 , wxEXPAND | wxBOTTOM , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
wxBoxSizer * bButtonSize ;
bButtonSize = new wxBoxSizer ( wxHORIZONTAL ) ;
2017-03-30 11:22:05 +00:00
2018-08-02 17:00:41 +00:00
m_bpAdd = new wxBitmapButton ( sbFields - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-02-28 16:54:35 +00:00
m_bpAdd - > SetMinSize ( wxSize ( 30 , 30 ) ) ;
2017-03-30 11:22:05 +00:00
2018-07-17 21:14:02 +00:00
bButtonSize - > Add ( m_bpAdd , 0 , wxRIGHT , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-08-02 17:00:41 +00:00
m_bpDelete = new wxBitmapButton ( sbFields - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-02-28 16:54:35 +00:00
m_bpDelete - > SetMinSize ( wxSize ( 30 , 30 ) ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
bButtonSize - > Add ( m_bpDelete , 0 , wxRIGHT , 10 ) ;
2017-03-30 11:22:05 +00:00
2018-08-02 17:00:41 +00:00
m_bpMoveUp = new wxBitmapButton ( sbFields - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-02-28 16:54:35 +00:00
m_bpMoveUp - > SetMinSize ( wxSize ( 30 , 30 ) ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
bButtonSize - > Add ( m_bpMoveUp , 0 , wxLEFT , 10 ) ;
2017-03-30 11:22:05 +00:00
2018-08-02 17:00:41 +00:00
m_bpMoveDown = new wxBitmapButton ( sbFields - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-02-28 16:54:35 +00:00
m_bpMoveDown - > SetMinSize ( wxSize ( 30 , 30 ) ) ;
2017-03-30 11:22:05 +00:00
2018-07-17 21:14:02 +00:00
bButtonSize - > Add ( m_bpMoveDown , 0 , wxRIGHT | wxLEFT , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
bButtonSize - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
m_updateFieldValues = new wxButton ( sbFields - > GetStaticBox ( ) , wxID_ANY , _ ( " Update Fields from Library... " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_updateFieldValues - > SetToolTip ( _ ( " Sets fields to the original library values " ) ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
bButtonSize - > Add ( m_updateFieldValues , 0 , wxALL | wxEXPAND , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
sbFields - > Add ( bButtonSize , 0 , wxEXPAND , 10 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
mainSizer - > Add ( sbFields , 1 , wxEXPAND | wxTOP | wxRIGHT | wxLEFT , 10 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
wxBoxSizer * lowerSizer ;
lowerSizer = new wxBoxSizer ( wxHORIZONTAL ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
wxStaticBoxSizer * sbSizerLibraryReference ;
sbSizerLibraryReference = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Symbol " ) ) , wxVERTICAL ) ;
2017-09-12 07:43:51 +00:00
2018-02-28 16:54:35 +00:00
wxFlexGridSizer * fgSizer1 ;
fgSizer1 = new wxFlexGridSizer ( 3 , 2 , 0 , 0 ) ;
fgSizer1 - > AddGrowableCol ( 1 ) ;
fgSizer1 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer1 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
m_staticText3 = new wxStaticText ( sbSizerLibraryReference - > GetStaticBox ( ) , wxID_ANY , _ ( " Library Reference: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText3 - > Wrap ( - 1 ) ;
fgSizer1 - > Add ( m_staticText3 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
wxBoxSizer * bLibraryReferenceSizer ;
bLibraryReferenceSizer = new wxBoxSizer ( wxHORIZONTAL ) ;
2017-09-12 07:43:51 +00:00
2018-02-28 16:54:35 +00:00
m_libraryNameTextCtrl = new wxTextCtrl ( sbSizerLibraryReference - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_libraryNameTextCtrl - > SetToolTip ( _ ( " Name of the symbol in the library to which this symbol is linked " ) ) ;
2017-03-30 11:22:05 +00:00
2018-07-20 15:03:43 +00:00
bLibraryReferenceSizer - > Add ( m_libraryNameTextCtrl , 1 , wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxLEFT , 5 ) ;
2017-09-12 07:43:51 +00:00
2018-08-02 17:00:41 +00:00
m_buttonBrowseLibrary = new wxBitmapButton ( sbSizerLibraryReference - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-07-20 15:03:43 +00:00
m_buttonBrowseLibrary - > SetMinSize ( wxSize ( 29 , 29 ) ) ;
2018-02-28 16:54:35 +00:00
bLibraryReferenceSizer - > Add ( m_buttonBrowseLibrary , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
fgSizer1 - > Add ( bLibraryReferenceSizer , 1 , wxEXPAND | wxRIGHT , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
m_unitLabel = new wxStaticText ( sbSizerLibraryReference - > GetStaticBox ( ) , wxID_ANY , _ ( " Unit: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_unitLabel - > Wrap ( - 1 ) ;
fgSizer1 - > Add ( m_unitLabel , 0 , wxBOTTOM | wxRIGHT , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
wxArrayString m_unitChoiceChoices ;
m_unitChoice = new wxChoice ( sbSizerLibraryReference - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_unitChoiceChoices , 0 ) ;
m_unitChoice - > SetSelection ( 0 ) ;
m_unitChoice - > SetMinSize ( wxSize ( 100 , - 1 ) ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
fgSizer1 - > Add ( m_unitChoice , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
fgSizer1 - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
m_cbAlternateSymbol = new wxCheckBox ( sbSizerLibraryReference - > GetStaticBox ( ) , wxID_ANY , _ ( " Alternate symbol (DeMorgan) " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_cbAlternateSymbol - > SetToolTip ( _ ( " Use the alternate shape of this symbol. \n For gates, this is the \" De Morgan \" conversion " ) ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
fgSizer1 - > Add ( m_cbAlternateSymbol , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
sbSizerLibraryReference - > Add ( fgSizer1 , 1 , wxEXPAND , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
lowerSizer - > Add ( sbSizerLibraryReference , 5 , wxEXPAND | wxRIGHT | wxLEFT , 10 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
wxString m_rbOrientationChoices [ ] = { _ ( " 0 " ) , _ ( " +90 " ) , _ ( " +180 " ) , _ ( " -90 " ) } ;
int m_rbOrientationNChoices = sizeof ( m_rbOrientationChoices ) / sizeof ( wxString ) ;
m_rbOrientation = new wxRadioBox ( this , wxID_ANY , _ ( " Orientation " ) , wxDefaultPosition , wxDefaultSize , m_rbOrientationNChoices , m_rbOrientationChoices , 1 , wxRA_SPECIFY_COLS ) ;
m_rbOrientation - > SetSelection ( 0 ) ;
m_rbOrientation - > SetToolTip ( _ ( " Select if the symbol is to be rotated when drawn " ) ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
lowerSizer - > Add ( m_rbOrientation , 2 , wxEXPAND | wxRIGHT | wxLEFT , 8 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
wxString m_rbMirrorChoices [ ] = { _ ( " Default " ) , _ ( " Mirror around X axis " ) , _ ( " Mirror around Y axis " ) } ;
int m_rbMirrorNChoices = sizeof ( m_rbMirrorChoices ) / sizeof ( wxString ) ;
m_rbMirror = new wxRadioBox ( this , wxID_ANY , _ ( " Aspect " ) , wxDefaultPosition , wxDefaultSize , m_rbMirrorNChoices , m_rbMirrorChoices , 1 , wxRA_SPECIFY_COLS ) ;
m_rbMirror - > SetSelection ( 1 ) ;
m_rbMirror - > SetToolTip ( _ ( " Pick the graphical transformation to be used when displaying the symbol " ) ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
lowerSizer - > Add ( m_rbMirror , 2 , wxEXPAND | wxRIGHT | wxLEFT , 8 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
mainSizer - > Add ( lowerSizer , 0 , wxEXPAND | wxTOP | wxRIGHT , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
m_staticline1 = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
mainSizer - > Add ( m_staticline1 , 0 , wxEXPAND | wxTOP | wxRIGHT | wxLEFT , 10 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
wxBoxSizer * bSizer101 ;
bSizer101 = new wxBoxSizer ( wxHORIZONTAL ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
wxBoxSizer * bSizer11 ;
bSizer11 = new wxBoxSizer ( wxHORIZONTAL ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
wxStaticText * timeStampLabel ;
timeStampLabel = new wxStaticText ( this , wxID_ANY , _ ( " Unique ID: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
timeStampLabel - > Wrap ( - 1 ) ;
bSizer11 - > Add ( timeStampLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
m_textCtrlTimeStamp = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxTE_READONLY ) ;
m_textCtrlTimeStamp - > SetToolTip ( _ ( " Unique ID that identifies the symbol " ) ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
bSizer11 - > Add ( m_textCtrlTimeStamp , 1 , wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
bSizer101 - > Add ( bSizer11 , 0 , wxEXPAND | wxRIGHT | wxLEFT , 10 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
bSizer101 - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
m_spiceFieldsButton = new wxButton ( this , wxID_ANY , _ ( " Edit Spice Model... " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-07-17 21:14:02 +00:00
bSizer101 - > Add ( m_spiceFieldsButton , 0 , wxEXPAND | wxALL , 5 ) ;
bSizer101 - > Add ( 0 , 0 , 0 , wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
m_stdDialogButtonSizer = new wxStdDialogButtonSizer ( ) ;
m_stdDialogButtonSizerOK = new wxButton ( this , wxID_OK ) ;
m_stdDialogButtonSizer - > AddButton ( m_stdDialogButtonSizerOK ) ;
m_stdDialogButtonSizerCancel = new wxButton ( this , wxID_CANCEL ) ;
m_stdDialogButtonSizer - > AddButton ( m_stdDialogButtonSizerCancel ) ;
m_stdDialogButtonSizer - > Realize ( ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
bSizer101 - > Add ( m_stdDialogButtonSizer , 0 , wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
2017-03-30 11:22:05 +00:00
2018-02-28 16:54:35 +00:00
mainSizer - > Add ( bSizer101 , 0 , wxEXPAND , 5 ) ;
2017-03-30 11:22:05 +00:00
2013-05-26 04:36:44 +00:00
this - > SetSizer ( mainSizer ) ;
this - > Layout ( ) ;
2017-12-24 15:04:02 +00:00
mainSizer - > Fit ( this ) ;
2017-03-30 11:22:05 +00:00
2013-05-26 04:36:44 +00:00
// Connect Events
2018-03-18 21:37:27 +00:00
this - > Connect ( wxEVT_INIT_DIALOG , wxInitDialogEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnInitDlg ) ) ;
2018-02-28 16:54:35 +00:00
this - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnUpdateUI ) ) ;
m_grid - > Connect ( wxEVT_SIZE , wxSizeEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnSizeGrid ) , NULL , this ) ;
m_bpAdd - > Connect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnAddField ) , NULL , this ) ;
m_bpDelete - > Connect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnDeleteField ) , NULL , this ) ;
m_bpMoveUp - > Connect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnMoveUp ) , NULL , this ) ;
m_bpMoveDown - > Connect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnMoveDown ) , NULL , this ) ;
m_updateFieldValues - > Connect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : UpdateFieldsFromLibrary ) , NULL , this ) ;
m_buttonBrowseLibrary - > Connect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnBrowseLibrary ) , NULL , this ) ;
m_spiceFieldsButton - > Connect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnEditSpiceModel ) , NULL , this ) ;
m_stdDialogButtonSizerOK - > Connect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnOKButtonClick ) , NULL , this ) ;
2013-05-26 04:36:44 +00:00
}
2018-03-18 21:37:27 +00:00
DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : ~ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE ( )
2013-05-26 04:36:44 +00:00
{
// Disconnect Events
2018-03-18 21:37:27 +00:00
this - > Disconnect ( wxEVT_INIT_DIALOG , wxInitDialogEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnInitDlg ) ) ;
2018-02-28 16:54:35 +00:00
this - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnUpdateUI ) ) ;
m_grid - > Disconnect ( wxEVT_SIZE , wxSizeEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnSizeGrid ) , NULL , this ) ;
m_bpAdd - > Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnAddField ) , NULL , this ) ;
m_bpDelete - > Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnDeleteField ) , NULL , this ) ;
m_bpMoveUp - > Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnMoveUp ) , NULL , this ) ;
m_bpMoveDown - > Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnMoveDown ) , NULL , this ) ;
m_updateFieldValues - > Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : UpdateFieldsFromLibrary ) , NULL , this ) ;
m_buttonBrowseLibrary - > Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnBrowseLibrary ) , NULL , this ) ;
m_spiceFieldsButton - > Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnEditSpiceModel ) , NULL , this ) ;
m_stdDialogButtonSizerOK - > Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : : OnOKButtonClick ) , NULL , this ) ;
2017-03-30 11:22:05 +00:00
2013-05-26 04:36:44 +00:00
}