2018-04-28 15:22:25 +00:00
///////////////////////////////////////////////////////////////////////////
2023-05-06 22:16:58 +00:00
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
2018-04-28 15:22:25 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
# include "pcb_layer_box_selector.h"
# include "dialog_global_edit_tracks_and_vias_base.h"
///////////////////////////////////////////////////////////////////////////
DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE ( wxWindow * parent , wxWindowID id , const wxString & title , const wxPoint & pos , const wxSize & size , long style ) : DIALOG_SHIM ( parent , id , title , pos , size , style )
{
this - > SetSizeHints ( wxDefaultSize , wxDefaultSize ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
wxBoxSizer * bMainSizer ;
bMainSizer = new wxBoxSizer ( wxVERTICAL ) ;
2021-02-16 03:14:28 +00:00
2019-04-11 18:58:47 +00:00
wxBoxSizer * bSizerTop ;
bSizerTop = new wxBoxSizer ( wxHORIZONTAL ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
wxStaticBoxSizer * sbScope ;
sbScope = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Scope " ) ) , wxVERTICAL ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
m_tracks = new wxCheckBox ( sbScope - > GetStaticBox ( ) , wxID_ANY , _ ( " Tracks " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-02-16 03:14:28 +00:00
m_tracks - > SetValue ( true ) ;
2019-04-11 18:58:47 +00:00
sbScope - > Add ( m_tracks , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
m_vias = new wxCheckBox ( sbScope - > GetStaticBox ( ) , wxID_ANY , _ ( " Vias " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2021-02-16 03:14:28 +00:00
m_vias - > SetValue ( true ) ;
2019-04-11 18:58:47 +00:00
sbScope - > Add ( m_vias , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2021-02-16 03:14:28 +00:00
2019-04-11 18:58:47 +00:00
bSizerTop - > Add ( sbScope , 1 , wxEXPAND | wxTOP | wxRIGHT | wxLEFT , 10 ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
wxStaticBoxSizer * sbFilters ;
2019-04-11 18:58:47 +00:00
sbFilters = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Filter Items " ) ) , wxVERTICAL ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
wxFlexGridSizer * fgSizer3 ;
2019-04-11 18:58:47 +00:00
fgSizer3 = new wxFlexGridSizer ( 0 , 2 , 4 , 0 ) ;
2018-04-28 15:22:25 +00:00
fgSizer3 - > AddGrowableCol ( 1 ) ;
2019-04-11 18:58:47 +00:00
fgSizer3 - > AddGrowableRow ( 0 ) ;
fgSizer3 - > AddGrowableRow ( 1 ) ;
fgSizer3 - > AddGrowableRow ( 2 ) ;
fgSizer3 - > AddGrowableRow ( 3 ) ;
fgSizer3 - > SetFlexibleDirection ( wxBOTH ) ;
2018-04-28 15:22:25 +00:00
fgSizer3 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
m_netFilterOpt = new wxCheckBox ( sbFilters - > GetStaticBox ( ) , wxID_ANY , _ ( " Filter items by net: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-08-19 16:11:58 +00:00
fgSizer3 - > Add ( m_netFilterOpt , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2021-02-16 03:14:28 +00:00
m_netFilter = new NET_SELECTOR ( sbFilters - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-08-19 16:11:58 +00:00
fgSizer3 - > Add ( m_netFilter , 1 , wxEXPAND | wxRIGHT , 5 ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
m_netclassFilterOpt = new wxCheckBox ( sbFilters - > GetStaticBox ( ) , wxID_ANY , _ ( " Filter items by net class: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizer3 - > Add ( m_netclassFilterOpt , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
wxArrayString m_netclassFilterChoices ;
m_netclassFilter = new wxChoice ( sbFilters - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_netclassFilterChoices , 0 ) ;
m_netclassFilter - > SetSelection ( 0 ) ;
2018-09-26 13:15:07 +00:00
fgSizer3 - > Add ( m_netclassFilter , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND | wxRIGHT , 5 ) ;
2021-02-16 03:14:28 +00:00
2019-04-11 18:58:47 +00:00
fgSizer3 - > Add ( 0 , 0 , 1 , wxEXPAND | wxTOP | wxBOTTOM , 3 ) ;
2021-02-16 03:14:28 +00:00
2019-04-11 18:58:47 +00:00
fgSizer3 - > Add ( 0 , 0 , 1 , wxEXPAND | wxTOP | wxBOTTOM , 3 ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
m_layerFilterOpt = new wxCheckBox ( sbFilters - > GetStaticBox ( ) , wxID_ANY , _ ( " Filter items by layer: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-08-19 16:11:58 +00:00
fgSizer3 - > Add ( m_layerFilterOpt , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2021-02-16 03:14:28 +00:00
m_layerFilter = new PCB_LAYER_BOX_SELECTOR ( sbFilters - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 , NULL , 0 ) ;
2018-08-19 16:11:58 +00:00
fgSizer3 - > Add ( m_layerFilter , 0 , wxEXPAND | wxALIGN_CENTER_VERTICAL | wxRIGHT , 5 ) ;
2021-02-16 03:14:28 +00:00
2023-05-06 22:16:58 +00:00
fgSizer3 - > Add ( 0 , 5 , 1 , wxEXPAND , 5 ) ;
fgSizer3 - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
m_filterByTrackWidth = new wxCheckBox ( sbFilters - > GetStaticBox ( ) , wxID_ANY , _ ( " Filter tracks by width: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizer3 - > Add ( m_filterByTrackWidth , 0 , wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
wxBoxSizer * bSizer3 ;
bSizer3 = new wxBoxSizer ( wxHORIZONTAL ) ;
m_trackWidthFilterCtrl = new wxTextCtrl ( sbFilters - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
bSizer3 - > Add ( m_trackWidthFilterCtrl , 1 , wxALIGN_CENTER_VERTICAL , 5 ) ;
m_trackWidthFilterUnits = new wxStaticText ( sbFilters - > GetStaticBox ( ) , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_trackWidthFilterUnits - > Wrap ( - 1 ) ;
bSizer3 - > Add ( m_trackWidthFilterUnits , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
fgSizer3 - > Add ( bSizer3 , 1 , wxEXPAND , 5 ) ;
m_filterByViaSize = new wxCheckBox ( sbFilters - > GetStaticBox ( ) , wxID_ANY , _ ( " Filter vias by size: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizer3 - > Add ( m_filterByViaSize , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
wxBoxSizer * bSizer31 ;
bSizer31 = new wxBoxSizer ( wxHORIZONTAL ) ;
m_viaSizeFilterCtrl = new wxTextCtrl ( sbFilters - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
bSizer31 - > Add ( m_viaSizeFilterCtrl , 1 , wxALIGN_CENTER_VERTICAL , 5 ) ;
m_viaSizeFilterUnits = new wxStaticText ( sbFilters - > GetStaticBox ( ) , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_viaSizeFilterUnits - > Wrap ( - 1 ) ;
bSizer31 - > Add ( m_viaSizeFilterUnits , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
fgSizer3 - > Add ( bSizer31 , 1 , wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
2021-02-16 03:14:28 +00:00
2019-04-11 18:58:47 +00:00
sbFilters - > Add ( fgSizer3 , 1 , wxEXPAND | wxBOTTOM , 5 ) ;
2021-02-16 03:14:28 +00:00
2023-05-06 22:16:58 +00:00
sbFilters - > Add ( 0 , 5 , 0 , 0 , 5 ) ;
2023-05-12 21:03:54 +00:00
m_selectedItemsFilter = new wxCheckBox ( sbFilters - > GetStaticBox ( ) , wxID_ANY , _ ( " Selected items only " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-05-06 22:16:58 +00:00
sbFilters - > Add ( m_selectedItemsFilter , 0 , wxALL , 5 ) ;
2019-04-11 18:58:47 +00:00
bSizerTop - > Add ( sbFilters , 2 , wxEXPAND | wxTOP | wxRIGHT | wxLEFT , 10 ) ;
2021-02-16 03:14:28 +00:00
2019-04-11 18:58:47 +00:00
bMainSizer - > Add ( bSizerTop , 0 , wxEXPAND , 5 ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
wxStaticBoxSizer * sbAction ;
sbAction = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Action " ) ) , wxVERTICAL ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
m_setToSpecifiedValues = new wxRadioButton ( sbAction - > GetStaticBox ( ) , ID_SPECIFIED_NET_TO_SPECIFIED_VALUES , _ ( " Set to specified values: " ) , wxDefaultPosition , wxDefaultSize , wxRB_GROUP ) ;
2021-02-16 03:14:28 +00:00
m_setToSpecifiedValues - > SetValue ( true ) ;
2023-05-06 22:16:58 +00:00
sbAction - > Add ( m_setToSpecifiedValues , 0 , 0 , 5 ) ;
2021-02-16 03:14:28 +00:00
2021-09-05 12:49:44 +00:00
wxFlexGridSizer * fgSizerTrackViaPopups ;
fgSizerTrackViaPopups = new wxFlexGridSizer ( 2 , 3 , 0 , 0 ) ;
fgSizerTrackViaPopups - > AddGrowableCol ( 0 ) ;
fgSizerTrackViaPopups - > AddGrowableCol ( 1 ) ;
fgSizerTrackViaPopups - > AddGrowableCol ( 2 ) ;
2023-05-06 22:16:58 +00:00
fgSizerTrackViaPopups - > AddGrowableRow ( 0 ) ;
fgSizerTrackViaPopups - > AddGrowableRow ( 1 ) ;
2021-09-05 12:49:44 +00:00
fgSizerTrackViaPopups - > SetFlexibleDirection ( wxHORIZONTAL ) ;
fgSizerTrackViaPopups - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_NONE ) ;
m_staticTextTrackWidth = new wxStaticText ( sbAction - > GetStaticBox ( ) , wxID_ANY , _ ( " Track Width " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticTextTrackWidth - > Wrap ( - 1 ) ;
2023-05-06 22:16:58 +00:00
fgSizerTrackViaPopups - > Add ( m_staticTextTrackWidth , 0 , wxRIGHT | wxLEFT | wxALIGN_BOTTOM , 5 ) ;
2021-09-05 12:49:44 +00:00
m_staticTextViaSize = new wxStaticText ( sbAction - > GetStaticBox ( ) , wxID_ANY , _ ( " Via Size " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticTextViaSize - > Wrap ( - 1 ) ;
2023-05-06 22:16:58 +00:00
fgSizerTrackViaPopups - > Add ( m_staticTextViaSize , 0 , wxRIGHT | wxLEFT | wxALIGN_BOTTOM , 5 ) ;
2021-09-05 12:49:44 +00:00
m_staticTextLayer = new wxStaticText ( sbAction - > GetStaticBox ( ) , wxID_ANY , _ ( " Layer " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticTextLayer - > Wrap ( - 1 ) ;
2023-05-06 22:16:58 +00:00
fgSizerTrackViaPopups - > Add ( m_staticTextLayer , 0 , wxRIGHT | wxLEFT | wxALIGN_BOTTOM , 5 ) ;
2021-02-16 03:14:28 +00:00
2023-04-09 21:59:01 +00:00
wxArrayString m_trackWidthSelectBoxChoices ;
m_trackWidthSelectBox = new wxChoice ( sbAction - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_trackWidthSelectBoxChoices , 0 ) ;
2019-01-28 14:15:32 +00:00
m_trackWidthSelectBox - > SetSelection ( 0 ) ;
2021-09-05 12:49:44 +00:00
fgSizerTrackViaPopups - > Add ( m_trackWidthSelectBox , 4 , wxEXPAND | wxRIGHT , 5 ) ;
2021-02-16 03:14:28 +00:00
2023-04-09 21:59:01 +00:00
wxArrayString m_viaSizesSelectBoxChoices ;
m_viaSizesSelectBox = new wxChoice ( sbAction - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_viaSizesSelectBoxChoices , 0 ) ;
2019-01-28 14:15:32 +00:00
m_viaSizesSelectBox - > SetSelection ( 0 ) ;
2021-09-05 12:49:44 +00:00
fgSizerTrackViaPopups - > Add ( m_viaSizesSelectBox , 5 , wxEXPAND | wxLEFT | wxRIGHT , 5 ) ;
2021-02-16 03:14:28 +00:00
2023-05-06 22:16:58 +00:00
m_layerBox = new PCB_LAYER_BOX_SELECTOR ( sbAction - > GetStaticBox ( ) , wxID_ANY , _ ( " Combo! " ) , wxDefaultPosition , wxDefaultSize , 0 , NULL , 0 ) ;
2021-09-05 12:49:44 +00:00
fgSizerTrackViaPopups - > Add ( m_layerBox , 0 , wxRIGHT | wxLEFT , 3 ) ;
2021-02-16 03:14:28 +00:00
2023-05-06 22:16:58 +00:00
sbAction - > Add ( fgSizerTrackViaPopups , 1 , wxBOTTOM | wxEXPAND | wxLEFT , 15 ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
m_setToNetclassValues = new wxRadioButton ( sbAction - > GetStaticBox ( ) , ID_SPECIFIED_NET_TO_NETCLASS_VALUES , _ ( " Set to net class values: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
sbAction - > Add ( m_setToNetclassValues , 0 , wxTOP | wxBOTTOM , 5 ) ;
2021-02-16 03:14:28 +00:00
2018-09-26 13:15:07 +00:00
m_netclassGrid = new wxGrid ( sbAction - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxBORDER_DEFAULT | wxVSCROLL ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
// Grid
m_netclassGrid - > CreateGrid ( 1 , 6 ) ;
m_netclassGrid - > EnableEditing ( false ) ;
m_netclassGrid - > EnableGridLines ( true ) ;
m_netclassGrid - > EnableDragGridSize ( false ) ;
m_netclassGrid - > SetMargins ( 0 , 0 ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
// Columns
2019-02-07 21:48:41 +00:00
m_netclassGrid - > SetColSize ( 0 , 110 ) ;
m_netclassGrid - > SetColSize ( 1 , 110 ) ;
m_netclassGrid - > SetColSize ( 2 , 110 ) ;
m_netclassGrid - > SetColSize ( 3 , 110 ) ;
m_netclassGrid - > SetColSize ( 4 , 110 ) ;
m_netclassGrid - > SetColSize ( 5 , 110 ) ;
2018-04-28 15:22:25 +00:00
m_netclassGrid - > EnableDragColMove ( false ) ;
m_netclassGrid - > EnableDragColSize ( false ) ;
m_netclassGrid - > SetColLabelSize ( 0 ) ;
2021-02-16 03:14:28 +00:00
m_netclassGrid - > SetColLabelAlignment ( wxALIGN_CENTER , wxALIGN_CENTER ) ;
2018-04-28 15:22:25 +00:00
// Rows
m_netclassGrid - > EnableDragRowSize ( false ) ;
m_netclassGrid - > SetRowLabelSize ( 0 ) ;
2021-02-16 03:14:28 +00:00
m_netclassGrid - > SetRowLabelAlignment ( wxALIGN_CENTER , wxALIGN_CENTER ) ;
2018-04-28 15:22:25 +00:00
// Label Appearance
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
// Cell Defaults
m_netclassGrid - > SetDefaultCellBackgroundColour ( wxSystemSettings : : GetColour ( wxSYS_COLOUR_BTNFACE ) ) ;
m_netclassGrid - > SetDefaultCellFont ( wxFont ( 11 , wxFONTFAMILY_DEFAULT , wxFONTSTYLE_NORMAL , wxFONTWEIGHT_NORMAL , false , wxEmptyString ) ) ;
2021-02-16 03:14:28 +00:00
m_netclassGrid - > SetDefaultCellAlignment ( wxALIGN_LEFT , wxALIGN_CENTER ) ;
2018-04-28 15:22:25 +00:00
sbAction - > Add ( m_netclassGrid , 0 , wxEXPAND | wxLEFT , 15 ) ;
2021-02-16 03:14:28 +00:00
2018-08-15 13:29:53 +00:00
sbAction - > Add ( 0 , 0 , 1 , wxEXPAND | wxTOP , 5 ) ;
2021-02-16 03:14:28 +00:00
2019-02-28 11:28:15 +00:00
bMainSizer - > Add ( sbAction , 1 , wxEXPAND | wxTOP | wxRIGHT | wxLEFT , 10 ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
m_sdbSizer = new wxStdDialogButtonSizer ( ) ;
m_sdbSizerOK = new wxButton ( this , wxID_OK ) ;
m_sdbSizer - > AddButton ( m_sdbSizerOK ) ;
m_sdbSizerCancel = new wxButton ( this , wxID_CANCEL ) ;
m_sdbSizer - > AddButton ( m_sdbSizerCancel ) ;
m_sdbSizer - > Realize ( ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
bMainSizer - > Add ( m_sdbSizer , 0 , wxEXPAND | wxALL , 5 ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
this - > SetSizer ( bMainSizer ) ;
this - > Layout ( ) ;
bMainSizer - > Fit ( this ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
// Connect Events
m_netclassFilter - > Connect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : OnNetclassFilterSelect ) , NULL , this ) ;
m_layerFilter - > Connect ( wxEVT_COMMAND_COMBOBOX_SELECTED , wxCommandEventHandler ( DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : OnLayerFilterSelect ) , NULL , this ) ;
2023-05-06 22:16:58 +00:00
m_trackWidthFilterCtrl - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : OnTrackWidthText ) , NULL , this ) ;
m_viaSizeFilterCtrl - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : OnViaSizeText ) , NULL , this ) ;
2023-04-09 21:59:01 +00:00
m_trackWidthSelectBox - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : onSpecifiedValuesUpdateUi ) , NULL , this ) ;
2021-04-07 16:38:07 +00:00
m_viaSizesSelectBox - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : onSpecifiedValuesUpdateUi ) , NULL , this ) ;
2018-04-28 15:22:25 +00:00
m_netclassGrid - > Connect ( wxEVT_SIZE , wxSizeEventHandler ( DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : OnSizeNetclassGrid ) , NULL , this ) ;
}
DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : ~ DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE ( )
{
// Disconnect Events
m_netclassFilter - > Disconnect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : OnNetclassFilterSelect ) , NULL , this ) ;
m_layerFilter - > Disconnect ( wxEVT_COMMAND_COMBOBOX_SELECTED , wxCommandEventHandler ( DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : OnLayerFilterSelect ) , NULL , this ) ;
2023-05-06 22:16:58 +00:00
m_trackWidthFilterCtrl - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : OnTrackWidthText ) , NULL , this ) ;
m_viaSizeFilterCtrl - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : OnViaSizeText ) , NULL , this ) ;
2023-04-09 21:59:01 +00:00
m_trackWidthSelectBox - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : onSpecifiedValuesUpdateUi ) , NULL , this ) ;
2021-04-07 16:38:07 +00:00
m_viaSizesSelectBox - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : onSpecifiedValuesUpdateUi ) , NULL , this ) ;
2018-04-28 15:22:25 +00:00
m_netclassGrid - > Disconnect ( wxEVT_SIZE , wxSizeEventHandler ( DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : : OnSizeNetclassGrid ) , NULL , this ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
}