2015-07-09 11:35:51 +00:00
///////////////////////////////////////////////////////////////////////////
2023-10-05 23:20:18 +00:00
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
2015-07-09 11:35:51 +00:00
// http://www.wxformbuilder.org/
//
2018-02-18 00:53:19 +00:00
// PLEASE DO *NOT* EDIT THIS FILE!
2015-07-09 11:35:51 +00:00
///////////////////////////////////////////////////////////////////////////
2018-01-31 08:23:20 +00:00
# include "pcb_layer_box_selector.h"
2015-07-09 11:35:51 +00:00
# include "dialog_track_via_properties_base.h"
///////////////////////////////////////////////////////////////////////////
2016-07-14 14:25:35 +00:00
DIALOG_TRACK_VIA_PROPERTIES_BASE : : DIALOG_TRACK_VIA_PROPERTIES_BASE ( wxWindow * parent , wxWindowID id , const wxString & title , const wxPoint & pos , const wxSize & size , long style ) : DIALOG_SHIM ( parent , id , title , pos , size , style )
2015-07-09 11:35:51 +00:00
{
this - > SetSizeHints ( wxSize ( - 1 , - 1 ) , wxDefaultSize ) ;
2019-08-25 10:06:01 +00:00
2015-08-18 16:15:57 +00:00
m_MainSizer = new wxBoxSizer ( wxVERTICAL ) ;
2019-08-25 10:06:01 +00:00
2018-10-05 14:11:02 +00:00
m_sbCommonSizer = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Common " ) ) , wxVERTICAL ) ;
2019-08-25 10:06:01 +00:00
2018-09-27 11:36:50 +00:00
wxBoxSizer * bSizerNetWidgets ;
bSizerNetWidgets = new wxBoxSizer ( wxHORIZONTAL ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
wxBoxSizer * bNetWidgetsLeftCol ;
bNetWidgetsLeftCol = new wxBoxSizer ( wxHORIZONTAL ) ;
2018-08-19 16:11:58 +00:00
m_netSelectorLabel = new wxStaticText ( m_sbCommonSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Net: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_netSelectorLabel - > Wrap ( - 1 ) ;
2023-10-19 11:35:10 +00:00
bNetWidgetsLeftCol - > Add ( m_netSelectorLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 1 ) ;
2019-08-25 10:06:01 +00:00
m_netSelector = new NET_SELECTOR ( m_sbCommonSizer - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-05-12 21:03:54 +00:00
bNetWidgetsLeftCol - > Add ( m_netSelector , 1 , wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2021-01-06 15:35:25 +00:00
2023-05-12 21:03:54 +00:00
bSizerNetWidgets - > Add ( bNetWidgetsLeftCol , 1 , wxRIGHT | wxALIGN_CENTER_VERTICAL , 10 ) ;
2021-01-06 15:35:25 +00:00
2023-05-12 21:03:54 +00:00
wxBoxSizer * bNetWidgetsRightCol ;
bNetWidgetsRightCol = new wxBoxSizer ( wxHORIZONTAL ) ;
2021-01-06 15:35:25 +00:00
m_viaNotFree = new wxCheckBox ( m_sbCommonSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Automatically update via nets " ) , wxDefaultPosition , wxDefaultSize , wxCHK_3STATE ) ;
m_viaNotFree - > SetToolTip ( _ ( " Automatically change the net of this via when the pads or zones it touches are changed " ) ) ;
2023-05-22 17:54:13 +00:00
bNetWidgetsRightCol - > Add ( m_viaNotFree , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2023-05-12 21:03:54 +00:00
2023-05-22 17:54:13 +00:00
bSizerNetWidgets - > Add ( bNetWidgetsRightCol , 1 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
2019-08-25 10:06:01 +00:00
2023-05-22 17:54:13 +00:00
m_sbCommonSizer - > Add ( bSizerNetWidgets , 5 , wxEXPAND | wxLEFT | wxRIGHT , 5 ) ;
2019-08-25 10:06:01 +00:00
2021-01-06 15:35:25 +00:00
m_staticline1 = new wxStaticLine ( m_sbCommonSizer - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
2023-10-21 17:19:17 +00:00
m_sbCommonSizer - > Add ( m_staticline1 , 0 , wxBOTTOM | wxEXPAND | wxTOP , 2 ) ;
2023-10-19 11:35:10 +00:00
2023-10-21 17:19:17 +00:00
m_sbCommonSizer - > Add ( 0 , 5 , 0 , wxEXPAND , 5 ) ;
2021-01-06 15:35:25 +00:00
2016-08-15 15:16:48 +00:00
m_lockedCbox = new wxCheckBox ( m_sbCommonSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Locked " ) , wxDefaultPosition , wxDefaultSize , wxCHK_3STATE ) ;
2023-10-21 17:19:17 +00:00
m_sbCommonSizer - > Add ( m_lockedCbox , 0 , wxTOP | wxBOTTOM | wxLEFT , 4 ) ;
2019-08-25 10:06:01 +00:00
2021-01-06 15:35:25 +00:00
m_MainSizer - > Add ( m_sbCommonSizer , 0 , wxEXPAND | wxALL , 10 ) ;
2019-08-25 10:06:01 +00:00
2018-02-03 09:09:53 +00:00
m_sbTrackSizer = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Tracks " ) ) , wxHORIZONTAL ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
wxBoxSizer * bSizerTracksLeftCol ;
bSizerTracksLeftCol = new wxBoxSizer ( wxVERTICAL ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
wxFlexGridSizer * fgTrackEnds ;
2023-05-22 17:54:13 +00:00
fgTrackEnds = new wxFlexGridSizer ( 7 , 5 , 3 , 3 ) ;
2023-05-12 21:03:54 +00:00
fgTrackEnds - > AddGrowableCol ( 1 ) ;
fgTrackEnds - > AddGrowableCol ( 3 ) ;
fgTrackEnds - > SetFlexibleDirection ( wxBOTH ) ;
fgTrackEnds - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
m_TrackStartXLabel = new wxStaticText ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Start X: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-07-09 11:35:51 +00:00
m_TrackStartXLabel - > Wrap ( - 1 ) ;
2023-10-19 11:35:10 +00:00
fgTrackEnds - > Add ( m_TrackStartXLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 1 ) ;
2019-08-25 10:06:01 +00:00
2018-02-03 09:09:53 +00:00
m_TrackStartXCtrl = new wxTextCtrl ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-05-12 21:03:54 +00:00
fgTrackEnds - > Add ( m_TrackStartXCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND , 3 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
m_TrackStartYLabel = new wxStaticText ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Y: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-07-09 11:35:51 +00:00
m_TrackStartYLabel - > Wrap ( - 1 ) ;
2023-05-12 21:03:54 +00:00
fgTrackEnds - > Add ( m_TrackStartYLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 8 ) ;
2019-08-25 10:06:01 +00:00
2018-02-03 09:09:53 +00:00
m_TrackStartYCtrl = new wxTextCtrl ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-05-12 21:03:54 +00:00
fgTrackEnds - > Add ( m_TrackStartYCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND , 3 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
m_TrackStartYUnit = new wxStaticText ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-07-09 11:35:51 +00:00
m_TrackStartYUnit - > Wrap ( - 1 ) ;
2023-05-12 21:03:54 +00:00
fgTrackEnds - > Add ( m_TrackStartYUnit , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
m_TrackEndXLabel = new wxStaticText ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " End X: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-07-09 11:35:51 +00:00
m_TrackEndXLabel - > Wrap ( - 1 ) ;
2023-10-19 11:35:10 +00:00
fgTrackEnds - > Add ( m_TrackEndXLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 1 ) ;
2019-08-25 10:06:01 +00:00
2018-02-03 09:09:53 +00:00
m_TrackEndXCtrl = new wxTextCtrl ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-05-12 21:03:54 +00:00
fgTrackEnds - > Add ( m_TrackEndXCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND , 3 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
m_TrackEndYLabel = new wxStaticText ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Y: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-07-09 11:35:51 +00:00
m_TrackEndYLabel - > Wrap ( - 1 ) ;
2023-05-12 21:03:54 +00:00
fgTrackEnds - > Add ( m_TrackEndYLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 8 ) ;
2019-08-25 10:06:01 +00:00
2018-02-03 09:09:53 +00:00
m_TrackEndYCtrl = new wxTextCtrl ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-05-12 21:03:54 +00:00
fgTrackEnds - > Add ( m_TrackEndYCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND , 3 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
m_TrackEndYUnit = new wxStaticText ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-07-09 11:35:51 +00:00
m_TrackEndYUnit - > Wrap ( - 1 ) ;
2023-05-12 21:03:54 +00:00
fgTrackEnds - > Add ( m_TrackEndYUnit , 0 , wxALIGN_CENTER_VERTICAL , 8 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
bSizerTracksLeftCol - > Add ( fgTrackEnds , 0 , wxEXPAND | wxBOTTOM , 8 ) ;
2023-10-21 17:19:17 +00:00
wxGridBagSizer * gbSizer1 ;
gbSizer1 = new wxGridBagSizer ( 3 , 3 ) ;
gbSizer1 - > SetFlexibleDirection ( wxBOTH ) ;
gbSizer1 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2023-10-21 18:10:38 +00:00
m_trackDesignRules = new wxCheckBox ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Use net class / custom rule widths " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_trackDesignRules - > SetValue ( true ) ;
gbSizer1 - > Add ( m_trackDesignRules , wxGBPosition ( 0 , 0 ) , wxGBSpan ( 1 , 2 ) , wxALIGN_CENTER_VERTICAL | wxTOP , 1 ) ;
2023-05-12 21:03:54 +00:00
m_DesignRuleWidths = new wxStaticText ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Pre-defined sizes: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-08-16 19:58:24 +00:00
m_DesignRuleWidths - > Wrap ( - 1 ) ;
2023-10-21 17:19:17 +00:00
gbSizer1 - > Add ( m_DesignRuleWidths , wxGBPosition ( 1 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxLEFT , 1 ) ;
2019-08-25 10:06:01 +00:00
2018-08-16 19:58:24 +00:00
wxArrayString m_DesignRuleWidthsCtrlChoices ;
m_DesignRuleWidthsCtrl = new wxChoice ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_DesignRuleWidthsCtrlChoices , 0 ) ;
m_DesignRuleWidthsCtrl - > SetSelection ( 0 ) ;
2023-10-21 17:19:17 +00:00
gbSizer1 - > Add ( m_DesignRuleWidthsCtrl , wxGBPosition ( 1 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxEXPAND | wxTOP | wxBOTTOM , 3 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
m_DesignRuleWidthsUnits = new wxStaticText ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-08-16 19:58:24 +00:00
m_DesignRuleWidthsUnits - > Wrap ( - 1 ) ;
2023-10-21 17:19:17 +00:00
gbSizer1 - > Add ( m_DesignRuleWidthsUnits , wxGBPosition ( 1 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-08-25 10:06:01 +00:00
2018-08-19 20:44:06 +00:00
m_TrackWidthLabel = new wxStaticText ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Track width: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-07-09 11:35:51 +00:00
m_TrackWidthLabel - > Wrap ( - 1 ) ;
2023-10-21 17:19:17 +00:00
gbSizer1 - > Add ( m_TrackWidthLabel , wxGBPosition ( 2 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-08-25 10:06:01 +00:00
2018-08-16 19:58:24 +00:00
m_TrackWidthCtrl = new wxTextCtrl ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-10-21 17:19:17 +00:00
gbSizer1 - > Add ( m_TrackWidthCtrl , wxGBPosition ( 2 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
m_TrackWidthUnit = new wxStaticText ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-07-09 11:35:51 +00:00
m_TrackWidthUnit - > Wrap ( - 1 ) ;
2023-10-21 17:19:17 +00:00
gbSizer1 - > Add ( m_TrackWidthUnit , wxGBPosition ( 2 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
2023-10-21 17:19:17 +00:00
gbSizer1 - > AddGrowableCol ( 1 ) ;
2023-05-12 21:03:54 +00:00
2023-10-21 17:19:17 +00:00
bSizerTracksLeftCol - > Add ( gbSizer1 , 1 , wxEXPAND | wxTOP , 5 ) ;
2019-08-25 10:06:01 +00:00
2023-10-21 17:19:17 +00:00
m_sbTrackSizer - > Add ( bSizerTracksLeftCol , 1 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2019-08-25 10:06:01 +00:00
2018-08-19 20:44:06 +00:00
m_sbTrackSizer - > Add ( 0 , 0 , 0 , wxEXPAND | wxRIGHT | wxLEFT , 15 ) ;
2019-08-25 10:06:01 +00:00
2018-02-03 09:09:53 +00:00
wxFlexGridSizer * fgTrackRightSizer ;
2018-08-16 19:58:24 +00:00
fgTrackRightSizer = new wxFlexGridSizer ( 1 , 3 , 3 , 5 ) ;
2023-05-12 21:03:54 +00:00
fgTrackRightSizer - > AddGrowableCol ( 2 ) ;
2018-02-03 09:09:53 +00:00
fgTrackRightSizer - > SetFlexibleDirection ( wxBOTH ) ;
fgTrackRightSizer - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2019-08-25 10:06:01 +00:00
2016-07-14 14:25:35 +00:00
m_TrackLayerLabel = new wxStaticText ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Layer: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-07-09 11:35:51 +00:00
m_TrackLayerLabel - > Wrap ( - 1 ) ;
2023-05-12 21:03:54 +00:00
fgTrackRightSizer - > Add ( m_TrackLayerLabel , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
fgTrackRightSizer - > Add ( 25 , 0 , 0 , wxEXPAND , 5 ) ;
2019-08-25 10:06:01 +00:00
m_TrackLayerCtrl = new PCB_LAYER_BOX_SELECTOR ( m_sbTrackSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 , NULL , 0 ) ;
2023-10-19 15:59:35 +00:00
fgTrackRightSizer - > Add ( m_TrackLayerCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND | wxRIGHT , 5 ) ;
2019-08-25 10:06:01 +00:00
2023-10-21 17:19:17 +00:00
m_sbTrackSizer - > Add ( fgTrackRightSizer , 1 , 0 , 3 ) ;
2019-08-25 10:06:01 +00:00
2021-01-06 15:35:25 +00:00
m_MainSizer - > Add ( m_sbTrackSizer , 0 , wxEXPAND | wxRIGHT | wxLEFT , 10 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
m_sbViaSizer = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Vias " ) ) , wxVERTICAL ) ;
wxBoxSizer * bSizerViaCols ;
bSizerViaCols = new wxBoxSizer ( wxHORIZONTAL ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
wxBoxSizer * bSizerViasLeftCol ;
bSizerViasLeftCol = new wxBoxSizer ( wxVERTICAL ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
wxFlexGridSizer * fgViaPos ;
fgViaPos = new wxFlexGridSizer ( 6 , 5 , 4 , 2 ) ;
fgViaPos - > AddGrowableCol ( 1 ) ;
fgViaPos - > AddGrowableCol ( 3 ) ;
fgViaPos - > SetFlexibleDirection ( wxBOTH ) ;
fgViaPos - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
m_ViaXLabel = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Pos X: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-07-09 11:35:51 +00:00
m_ViaXLabel - > Wrap ( - 1 ) ;
2023-10-19 11:35:10 +00:00
fgViaPos - > Add ( m_ViaXLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 1 ) ;
2019-08-25 10:06:01 +00:00
2018-02-03 09:09:53 +00:00
m_ViaXCtrl = new wxTextCtrl ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-05-12 21:03:54 +00:00
fgViaPos - > Add ( m_ViaXCtrl , 0 , wxEXPAND | wxALIGN_CENTER_VERTICAL , 3 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
m_ViaYLabel = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Y: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-07-09 11:35:51 +00:00
m_ViaYLabel - > Wrap ( - 1 ) ;
2023-05-12 21:03:54 +00:00
fgViaPos - > Add ( m_ViaYLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 8 ) ;
2019-08-25 10:06:01 +00:00
2018-02-03 09:09:53 +00:00
m_ViaYCtrl = new wxTextCtrl ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-05-12 21:03:54 +00:00
fgViaPos - > Add ( m_ViaYCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND , 3 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
m_ViaYUnit = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-07-09 11:35:51 +00:00
m_ViaYUnit - > Wrap ( - 1 ) ;
2023-05-12 21:03:54 +00:00
fgViaPos - > Add ( m_ViaYUnit , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
bSizerViasLeftCol - > Add ( fgViaPos , 0 , wxEXPAND | wxBOTTOM , 8 ) ;
2023-10-21 17:19:17 +00:00
wxGridBagSizer * gbSizer3 ;
gbSizer3 = new wxGridBagSizer ( 3 , 3 ) ;
gbSizer3 - > SetFlexibleDirection ( wxBOTH ) ;
gbSizer3 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2023-10-21 18:10:38 +00:00
m_viaDesignRules = new wxCheckBox ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Use net class / custom rule sizes " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
gbSizer3 - > Add ( m_viaDesignRules , wxGBPosition ( 0 , 0 ) , wxGBSpan ( 1 , 2 ) , wxALIGN_CENTER_VERTICAL | wxTOP , 1 ) ;
2019-08-25 10:06:01 +00:00
2018-08-19 20:44:06 +00:00
m_DesignRuleVias = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Pre-defined sizes: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-02-03 09:09:53 +00:00
m_DesignRuleVias - > Wrap ( - 1 ) ;
2023-10-21 17:19:17 +00:00
gbSizer3 - > Add ( m_DesignRuleVias , wxGBPosition ( 1 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxLEFT , 1 ) ;
2019-08-25 10:06:01 +00:00
2018-02-03 09:09:53 +00:00
wxArrayString m_DesignRuleViasCtrlChoices ;
m_DesignRuleViasCtrl = new wxChoice ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_DesignRuleViasCtrlChoices , 0 ) ;
m_DesignRuleViasCtrl - > SetSelection ( 0 ) ;
2023-10-21 17:19:17 +00:00
gbSizer3 - > Add ( m_DesignRuleViasCtrl , wxGBPosition ( 1 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxEXPAND | wxTOP | wxBOTTOM , 3 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
m_DesignRuleViasUnit = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-02-03 09:09:53 +00:00
m_DesignRuleViasUnit - > Wrap ( - 1 ) ;
2023-10-21 17:19:17 +00:00
gbSizer3 - > Add ( m_DesignRuleViasUnit , wxGBPosition ( 1 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-08-25 10:06:01 +00:00
2018-08-19 20:44:06 +00:00
m_ViaDiameterLabel = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Via diameter: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-02-18 00:53:19 +00:00
m_ViaDiameterLabel - > Wrap ( - 1 ) ;
2023-10-21 17:19:17 +00:00
gbSizer3 - > Add ( m_ViaDiameterLabel , wxGBPosition ( 2 , 0 ) , wxGBSpan ( 1 , 1 ) , wxLEFT , 1 ) ;
2019-08-25 10:06:01 +00:00
2018-02-03 09:09:53 +00:00
m_ViaDiameterCtrl = new wxTextCtrl ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-10-21 17:19:17 +00:00
gbSizer3 - > Add ( m_ViaDiameterCtrl , wxGBPosition ( 2 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
m_ViaDiameterUnit = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-02-18 00:53:19 +00:00
m_ViaDiameterUnit - > Wrap ( - 1 ) ;
2023-10-21 17:19:17 +00:00
gbSizer3 - > Add ( m_ViaDiameterUnit , wxGBPosition ( 2 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-08-25 10:06:01 +00:00
2021-01-11 13:46:00 +00:00
m_ViaDrillLabel = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Via hole: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-02-18 00:53:19 +00:00
m_ViaDrillLabel - > Wrap ( - 1 ) ;
2023-10-21 17:19:17 +00:00
gbSizer3 - > Add ( m_ViaDrillLabel , wxGBPosition ( 3 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxLEFT , 1 ) ;
2019-08-25 10:06:01 +00:00
2018-02-03 09:09:53 +00:00
m_ViaDrillCtrl = new wxTextCtrl ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-10-21 17:19:17 +00:00
gbSizer3 - > Add ( m_ViaDrillCtrl , wxGBPosition ( 3 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
m_ViaDrillUnit = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-02-18 00:53:19 +00:00
m_ViaDrillUnit - > Wrap ( - 1 ) ;
2023-10-21 17:19:17 +00:00
gbSizer3 - > Add ( m_ViaDrillUnit , wxGBPosition ( 3 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL , 5 ) ;
2023-05-12 21:03:54 +00:00
2019-08-25 10:06:01 +00:00
2023-10-21 17:19:17 +00:00
gbSizer3 - > AddGrowableCol ( 1 ) ;
2019-08-25 10:06:01 +00:00
2023-10-21 17:19:17 +00:00
bSizerViasLeftCol - > Add ( gbSizer3 , 1 , wxEXPAND | wxTOP , 5 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
bSizerViaCols - > Add ( bSizerViasLeftCol , 1 , wxEXPAND , 5 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
bSizerViaCols - > Add ( 0 , 0 , 0 , wxEXPAND | wxRIGHT | wxLEFT , 15 ) ;
2019-08-25 10:06:01 +00:00
2021-08-14 00:44:23 +00:00
wxBoxSizer * viaRightColumn ;
viaRightColumn = new wxBoxSizer ( wxVERTICAL ) ;
wxFlexGridSizer * fgSizer4 ;
2023-05-22 17:54:13 +00:00
fgSizer4 = new wxFlexGridSizer ( 0 , 2 , 3 , 5 ) ;
2021-08-14 00:44:23 +00:00
fgSizer4 - > AddGrowableCol ( 1 ) ;
2023-10-21 17:19:17 +00:00
fgSizer4 - > AddGrowableRow ( 0 ) ;
fgSizer4 - > AddGrowableRow ( 1 ) ;
fgSizer4 - > AddGrowableRow ( 2 ) ;
2021-08-14 00:44:23 +00:00
fgSizer4 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer4 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2019-08-25 10:06:01 +00:00
2017-04-22 15:45:32 +00:00
m_ViaTypeLabel = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Via type: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_ViaTypeLabel - > Wrap ( - 1 ) ;
2023-05-12 21:03:54 +00:00
fgSizer4 - > Add ( m_ViaTypeLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
2019-08-25 10:06:01 +00:00
2020-03-01 19:29:41 +00:00
wxString m_ViaTypeChoiceChoices [ ] = { _ ( " Through " ) , _ ( " Micro " ) , _ ( " Blind/buried " ) } ;
2017-04-22 15:45:32 +00:00
int m_ViaTypeChoiceNChoices = sizeof ( m_ViaTypeChoiceChoices ) / sizeof ( wxString ) ;
m_ViaTypeChoice = new wxChoice ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_ViaTypeChoiceNChoices , m_ViaTypeChoiceChoices , 0 ) ;
m_ViaTypeChoice - > SetSelection ( 0 ) ;
m_ViaTypeChoice - > Enable ( false ) ;
2019-08-25 10:06:01 +00:00
2021-10-21 12:59:55 +00:00
fgSizer4 - > Add ( m_ViaTypeChoice , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
fgSizer4 - > Add ( 0 , 3 , 1 , wxEXPAND , 5 ) ;
fgSizer4 - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
2017-04-22 15:45:32 +00:00
m_ViaStartLayerLabel = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Start layer: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_ViaStartLayerLabel - > Wrap ( - 1 ) ;
2023-05-12 21:03:54 +00:00
fgSizer4 - > Add ( m_ViaStartLayerLabel , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2019-08-25 10:06:01 +00:00
m_ViaStartLayer = new PCB_LAYER_BOX_SELECTOR ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 , NULL , 0 ) ;
2021-10-21 12:59:55 +00:00
fgSizer4 - > Add ( m_ViaStartLayer , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
2019-08-25 10:06:01 +00:00
2017-04-22 15:45:32 +00:00
m_ViaEndLayerLabel1 = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " End layer: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_ViaEndLayerLabel1 - > Wrap ( - 1 ) ;
2023-05-12 21:03:54 +00:00
fgSizer4 - > Add ( m_ViaEndLayerLabel1 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2019-08-25 10:06:01 +00:00
m_ViaEndLayer = new PCB_LAYER_BOX_SELECTOR ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 , NULL , 0 ) ;
2021-10-21 12:59:55 +00:00
fgSizer4 - > Add ( m_ViaEndLayer , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
2020-12-20 21:29:43 +00:00
2023-05-12 21:03:54 +00:00
fgSizer4 - > Add ( 0 , 15 , 1 , wxEXPAND , 5 ) ;
fgSizer4 - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
2020-12-20 21:29:43 +00:00
2021-08-14 00:44:23 +00:00
m_annularRingsLabel = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Annular rings: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_annularRingsLabel - > Wrap ( - 1 ) ;
2023-05-12 21:03:54 +00:00
fgSizer4 - > Add ( m_annularRingsLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
2019-08-25 10:06:01 +00:00
2021-08-14 00:44:23 +00:00
wxString m_annularRingsCtrlChoices [ ] = { _ ( " All copper layers " ) , _ ( " Start, end, and connected layers " ) , _ ( " Connected layers only " ) } ;
int m_annularRingsCtrlNChoices = sizeof ( m_annularRingsCtrlChoices ) / sizeof ( wxString ) ;
m_annularRingsCtrl = new wxChoice ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_annularRingsCtrlNChoices , m_annularRingsCtrlChoices , 0 ) ;
2023-10-05 23:20:18 +00:00
m_annularRingsCtrl - > SetSelection ( 1 ) ;
2023-05-12 21:03:54 +00:00
fgSizer4 - > Add ( m_annularRingsCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
2023-10-05 23:20:18 +00:00
viaRightColumn - > Add ( fgSizer4 , 0 , wxEXPAND | wxBOTTOM , 3 ) ;
2023-05-12 21:03:54 +00:00
bSizerViaCols - > Add ( viaRightColumn , 1 , wxEXPAND , 5 ) ;
2023-05-22 17:54:13 +00:00
m_sbViaSizer - > Add ( bSizerViaCols , 0 , wxALL | wxEXPAND , 5 ) ;
2023-05-12 21:03:54 +00:00
m_staticline2 = new wxStaticLine ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
2023-10-21 17:19:17 +00:00
m_sbViaSizer - > Add ( m_staticline2 , 0 , wxEXPAND | wxBOTTOM , 8 ) ;
2023-05-12 21:03:54 +00:00
m_legacyTeardropsWarning = new wxBoxSizer ( wxHORIZONTAL ) ;
m_legacyTeardropsIcon = new wxStaticBitmap ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_legacyTeardropsWarning - > Add ( m_legacyTeardropsIcon , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT , 5 ) ;
wxBoxSizer * bSizer42 ;
bSizer42 = new wxBoxSizer ( wxVERTICAL ) ;
2023-08-10 07:28:41 +00:00
m_staticText85 = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Board contains legacy teardrops. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-05-12 21:03:54 +00:00
m_staticText85 - > Wrap ( - 1 ) ;
bSizer42 - > Add ( m_staticText85 , 0 , wxRIGHT | wxLEFT , 5 ) ;
m_staticText851 = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Use Edit > Edit Teardrops to apply automatic teardrops. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText851 - > Wrap ( - 1 ) ;
bSizer42 - > Add ( m_staticText851 , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
m_legacyTeardropsWarning - > Add ( bSizer42 , 1 , wxALIGN_CENTER_VERTICAL , 5 ) ;
2023-05-22 17:54:13 +00:00
m_sbViaSizer - > Add ( m_legacyTeardropsWarning , 0 , wxBOTTOM | wxEXPAND | wxTOP , 5 ) ;
2023-05-12 21:03:54 +00:00
wxBoxSizer * bSizerTeardrops ;
bSizerTeardrops = new wxBoxSizer ( wxVERTICAL ) ;
wxBoxSizer * bSizerCols11 ;
bSizerCols11 = new wxBoxSizer ( wxHORIZONTAL ) ;
wxBoxSizer * bSizerLeftCol11 ;
bSizerLeftCol11 = new wxBoxSizer ( wxVERTICAL ) ;
2023-10-19 11:35:10 +00:00
bSizerLeftCol11 - > Add ( 0 , 2 , 0 , wxEXPAND , 5 ) ;
2023-05-12 21:03:54 +00:00
m_cbTeardrops = new wxCheckBox ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Add teardrops on via's track connections " ) , wxDefaultPosition , wxDefaultSize , wxCHK_3STATE ) ;
2023-10-19 11:35:10 +00:00
bSizerLeftCol11 - > Add ( m_cbTeardrops , 0 , wxBOTTOM | wxRIGHT , 3 ) ;
2023-05-12 21:03:54 +00:00
m_cbTeardropsUseNextTrack = new wxCheckBox ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Allow teardrops to span 2 track segments " ) , wxDefaultPosition , wxDefaultSize , wxCHK_3STATE ) ;
m_cbTeardropsUseNextTrack - > SetToolTip ( _ ( " Allows a teardrop to spread over 2 tracks if the first track segment is too short " ) ) ;
bSizerLeftCol11 - > Add ( m_cbTeardropsUseNextTrack , 0 , wxBOTTOM | wxRIGHT , 5 ) ;
2023-10-19 11:35:10 +00:00
bSizerCols11 - > Add ( bSizerLeftCol11 , 1 , wxEXPAND | wxTOP | wxLEFT , 1 ) ;
2023-05-12 21:03:54 +00:00
bSizerCols11 - > Add ( 20 , 0 , 0 , wxEXPAND , 5 ) ;
wxBoxSizer * bSizerRightCol11 ;
bSizerRightCol11 = new wxBoxSizer ( wxVERTICAL ) ;
wxBoxSizer * bSizer39 ;
bSizer39 = new wxBoxSizer ( wxHORIZONTAL ) ;
m_stHDRatio = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Maximum track width: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_stHDRatio - > Wrap ( - 1 ) ;
m_stHDRatio - > SetToolTip ( _ ( " Max pad/via size to track width ratio to create a teardrop. \n 100 always creates a teardrop. " ) ) ;
bSizer39 - > Add ( m_stHDRatio , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
m_tcHDRatio = new wxTextCtrl ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( - 1 , - 1 ) , 0 ) ;
m_tcHDRatio - > SetToolTip ( _ ( " Tracks which are similar in size to the via do not need teardrops. " ) ) ;
bSizer39 - > Add ( m_tcHDRatio , 0 , wxRIGHT | wxLEFT , 5 ) ;
m_stHDRatioUnits = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " % " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_stHDRatioUnits - > Wrap ( - 1 ) ;
bSizer39 - > Add ( m_stHDRatioUnits , 0 , wxRIGHT | wxALIGN_CENTER_VERTICAL , 5 ) ;
bSizerRightCol11 - > Add ( bSizer39 , 0 , wxEXPAND , 3 ) ;
wxBoxSizer * bSizer17 ;
bSizer17 = new wxBoxSizer ( wxVERTICAL ) ;
m_minTrackWidthHint = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " (as a percentage of pad/via/track size) " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_minTrackWidthHint - > Wrap ( - 1 ) ;
bSizer17 - > Add ( m_minTrackWidthHint , 0 , wxEXPAND | wxTOP | wxBOTTOM , 2 ) ;
bSizerRightCol11 - > Add ( bSizer17 , 0 , wxEXPAND | wxLEFT , 5 ) ;
bSizerCols11 - > Add ( bSizerRightCol11 , 1 , wxEXPAND | wxLEFT , 10 ) ;
bSizerTeardrops - > Add ( bSizerCols11 , 0 , wxEXPAND | wxTOP , 3 ) ;
bSizerTeardrops - > Add ( 0 , 5 , 0 , wxEXPAND , 5 ) ;
wxBoxSizer * bSizerShapeColumns ;
bSizerShapeColumns = new wxBoxSizer ( wxHORIZONTAL ) ;
wxBoxSizer * bSizerLeftCol ;
bSizerLeftCol = new wxBoxSizer ( wxVERTICAL ) ;
m_bitmapTeardrop = new wxStaticBitmap ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-10-05 23:20:18 +00:00
bSizerLeftCol - > Add ( m_bitmapTeardrop , 1 , wxALIGN_CENTER_HORIZONTAL , 5 ) ;
2023-05-12 21:03:54 +00:00
bSizerShapeColumns - > Add ( bSizerLeftCol , 1 , wxEXPAND | wxRIGHT , 10 ) ;
bSizerShapeColumns - > Add ( 20 , 0 , 0 , wxEXPAND , 5 ) ;
2023-05-23 16:45:26 +00:00
wxBoxSizer * bSizer20 ;
bSizer20 = new wxBoxSizer ( wxVERTICAL ) ;
2023-05-12 21:03:54 +00:00
wxFlexGridSizer * fgSizerRightCol ;
2023-05-22 17:54:13 +00:00
fgSizerRightCol = new wxFlexGridSizer ( 0 , 3 , 3 , 5 ) ;
2023-05-12 21:03:54 +00:00
fgSizerRightCol - > AddGrowableCol ( 1 ) ;
fgSizerRightCol - > SetFlexibleDirection ( wxBOTH ) ;
fgSizerRightCol - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
m_stLenPercentLabel = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Best length: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_stLenPercentLabel - > Wrap ( - 1 ) ;
fgSizerRightCol - > Add ( m_stLenPercentLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
m_tcLenPercent = new wxTextCtrl ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizerRightCol - > Add ( m_tcLenPercent , 0 , wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_stLenPercentUnits = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " % " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_stLenPercentUnits - > Wrap ( - 1 ) ;
fgSizerRightCol - > Add ( m_stLenPercentUnits , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
m_stMaxLen = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Max length: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_stMaxLen - > Wrap ( - 1 ) ;
fgSizerRightCol - > Add ( m_stMaxLen , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
m_tcTdMaxLen = new wxTextCtrl ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizerRightCol - > Add ( m_tcTdMaxLen , 0 , wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_stMaxLenUnits = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_stMaxLenUnits - > Wrap ( - 1 ) ;
2023-10-05 23:20:18 +00:00
fgSizerRightCol - > Add ( m_stMaxLenUnits , 0 , wxALIGN_CENTER_VERTICAL , 3 ) ;
2023-05-12 21:03:54 +00:00
fgSizerRightCol - > Add ( 0 , 3 , 1 , wxEXPAND , 5 ) ;
fgSizerRightCol - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
fgSizerRightCol - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
m_stHeightPercentLabel = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Best height: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_stHeightPercentLabel - > Wrap ( - 1 ) ;
fgSizerRightCol - > Add ( m_stHeightPercentLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
m_tcHeightPercent = new wxTextCtrl ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizerRightCol - > Add ( m_tcHeightPercent , 0 , wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_stHeightPercentUnits = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " % " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_stHeightPercentUnits - > Wrap ( - 1 ) ;
fgSizerRightCol - > Add ( m_stHeightPercentUnits , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
m_stMaxHeight = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Max height: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_stMaxHeight - > Wrap ( - 1 ) ;
fgSizerRightCol - > Add ( m_stMaxHeight , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
m_tcMaxHeight = new wxTextCtrl ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizerRightCol - > Add ( m_tcMaxHeight , 0 , wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_stMaxHeightUnits = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_stMaxHeightUnits - > Wrap ( - 1 ) ;
2023-10-05 23:20:18 +00:00
fgSizerRightCol - > Add ( m_stMaxHeightUnits , 0 , wxALIGN_CENTER_VERTICAL , 3 ) ;
2023-05-12 21:03:54 +00:00
2023-10-19 15:59:35 +00:00
bSizer20 - > Add ( fgSizerRightCol , 1 , wxEXPAND | wxLEFT | wxRIGHT | wxTOP , 5 ) ;
2023-05-12 21:03:54 +00:00
2023-05-23 16:45:26 +00:00
wxBoxSizer * bSizer44 ;
bSizer44 = new wxBoxSizer ( wxHORIZONTAL ) ;
2023-05-12 21:03:54 +00:00
2023-05-23 16:45:26 +00:00
m_curvedEdges = new wxCheckBox ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Curved edges " ) , wxDefaultPosition , wxDefaultSize , wxCHK_3STATE | wxCHK_ALLOW_3RD_STATE_FOR_USER ) ;
bSizer44 - > Add ( m_curvedEdges , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
2023-05-12 21:03:54 +00:00
2023-05-23 16:45:26 +00:00
bSizer44 - > Add ( 45 , 0 , 0 , 0 , 5 ) ;
2023-05-12 21:03:54 +00:00
2023-05-23 16:45:26 +00:00
m_curvePointsLabel = new wxStaticText ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Points: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2023-05-12 21:03:54 +00:00
m_curvePointsLabel - > Wrap ( - 1 ) ;
2023-05-23 16:45:26 +00:00
bSizer44 - > Add ( m_curvePointsLabel , 0 , wxALIGN_CENTER_VERTICAL , 5 ) ;
m_curvePointsCtrl = new wxSpinCtrl ( m_sbViaSizer - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxSP_ARROW_KEYS , 3 , 10 , 5 ) ;
bSizer44 - > Add ( m_curvePointsCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2023-05-12 21:03:54 +00:00
2023-10-19 15:59:35 +00:00
bSizer20 - > Add ( bSizer44 , 0 , wxBOTTOM | wxEXPAND | wxLEFT | wxTOP , 5 ) ;
2023-05-12 21:03:54 +00:00
2023-05-23 16:45:26 +00:00
bSizerShapeColumns - > Add ( bSizer20 , 1 , wxEXPAND , 5 ) ;
2023-05-12 21:03:54 +00:00
bSizerTeardrops - > Add ( bSizerShapeColumns , 1 , wxEXPAND | wxBOTTOM , 3 ) ;
2019-08-25 10:06:01 +00:00
2023-05-12 21:03:54 +00:00
m_sbViaSizer - > Add ( bSizerTeardrops , 1 , wxEXPAND , 5 ) ;
2021-01-07 00:45:32 +00:00
2021-08-14 00:44:23 +00:00
m_MainSizer - > Add ( m_sbViaSizer , 0 , wxEXPAND | wxTOP | wxRIGHT | wxLEFT , 10 ) ;
2021-01-07 00:45:32 +00:00
2015-07-09 11:35:51 +00:00
m_StdButtons = new wxStdDialogButtonSizer ( ) ;
m_StdButtonsOK = new wxButton ( this , wxID_OK ) ;
m_StdButtons - > AddButton ( m_StdButtonsOK ) ;
m_StdButtonsCancel = new wxButton ( this , wxID_CANCEL ) ;
m_StdButtons - > AddButton ( m_StdButtonsCancel ) ;
m_StdButtons - > Realize ( ) ;
2019-08-25 10:06:01 +00:00
2018-08-19 16:09:23 +00:00
m_MainSizer - > Add ( m_StdButtons , 0 , wxEXPAND | wxALL , 5 ) ;
2019-08-25 10:06:01 +00:00
2015-08-18 16:15:57 +00:00
this - > SetSizer ( m_MainSizer ) ;
2015-07-09 11:35:51 +00:00
this - > Layout ( ) ;
2021-01-06 15:35:25 +00:00
m_MainSizer - > Fit ( this ) ;
2019-08-25 10:06:01 +00:00
2015-07-09 11:35:51 +00:00
this - > Centre ( wxBOTH ) ;
2019-08-25 10:06:01 +00:00
2015-07-09 11:35:51 +00:00
// Connect Events
2021-01-06 15:35:25 +00:00
m_viaNotFree - > Connect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaNotFreeClicked ) , NULL , this ) ;
2023-10-21 18:10:38 +00:00
m_trackDesignRules - > Connect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTrackNetclassCheck ) , NULL , this ) ;
2019-08-25 10:06:01 +00:00
m_DesignRuleWidthsCtrl - > Connect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onWidthSelect ) , NULL , this ) ;
m_TrackWidthCtrl - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onWidthEdit ) , NULL , this ) ;
2023-10-21 18:10:38 +00:00
m_viaDesignRules - > Connect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaNetclassCheck ) , NULL , this ) ;
2019-08-25 10:06:01 +00:00
m_DesignRuleViasCtrl - > Connect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaSelect ) , NULL , this ) ;
m_ViaDiameterCtrl - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaEdit ) , NULL , this ) ;
m_ViaDrillCtrl - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaEdit ) , NULL , this ) ;
m_ViaTypeChoice - > Connect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaEdit ) , NULL , this ) ;
2022-11-24 18:05:37 +00:00
m_ViaStartLayer - > Connect ( wxEVT_COMMAND_COMBOBOX_SELECTED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaEdit ) , NULL , this ) ;
m_ViaEndLayer - > Connect ( wxEVT_COMMAND_COMBOBOX_SELECTED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaEdit ) , NULL , this ) ;
2023-05-12 21:03:54 +00:00
m_cbTeardrops - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_cbTeardropsUseNextTrack - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stHDRatio - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_tcHDRatio - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stHDRatioUnits - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_minTrackWidthHint - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_bitmapTeardrop - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stLenPercentLabel - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_tcLenPercent - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stLenPercentUnits - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stMaxLen - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_tcTdMaxLen - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stMaxLenUnits - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stHeightPercentLabel - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_tcHeightPercent - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stHeightPercentUnits - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stMaxHeight - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_tcMaxHeight - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stMaxHeightUnits - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_curvePointsLabel - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onCurvedEdgesUpdateUi ) , NULL , this ) ;
m_curvePointsCtrl - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onCurvedEdgesUpdateUi ) , NULL , this ) ;
2015-07-09 11:35:51 +00:00
}
DIALOG_TRACK_VIA_PROPERTIES_BASE : : ~ DIALOG_TRACK_VIA_PROPERTIES_BASE ( )
{
// Disconnect Events
2021-01-06 15:35:25 +00:00
m_viaNotFree - > Disconnect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaNotFreeClicked ) , NULL , this ) ;
2023-10-21 18:10:38 +00:00
m_trackDesignRules - > Disconnect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTrackNetclassCheck ) , NULL , this ) ;
2019-08-25 10:06:01 +00:00
m_DesignRuleWidthsCtrl - > Disconnect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onWidthSelect ) , NULL , this ) ;
m_TrackWidthCtrl - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onWidthEdit ) , NULL , this ) ;
2023-10-21 18:10:38 +00:00
m_viaDesignRules - > Disconnect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaNetclassCheck ) , NULL , this ) ;
2019-08-25 10:06:01 +00:00
m_DesignRuleViasCtrl - > Disconnect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaSelect ) , NULL , this ) ;
m_ViaDiameterCtrl - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaEdit ) , NULL , this ) ;
m_ViaDrillCtrl - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaEdit ) , NULL , this ) ;
m_ViaTypeChoice - > Disconnect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaEdit ) , NULL , this ) ;
2022-11-24 18:05:37 +00:00
m_ViaStartLayer - > Disconnect ( wxEVT_COMMAND_COMBOBOX_SELECTED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaEdit ) , NULL , this ) ;
m_ViaEndLayer - > Disconnect ( wxEVT_COMMAND_COMBOBOX_SELECTED , wxCommandEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onViaEdit ) , NULL , this ) ;
2023-05-12 21:03:54 +00:00
m_cbTeardrops - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_cbTeardropsUseNextTrack - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stHDRatio - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_tcHDRatio - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stHDRatioUnits - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_minTrackWidthHint - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_bitmapTeardrop - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stLenPercentLabel - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_tcLenPercent - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stLenPercentUnits - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stMaxLen - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_tcTdMaxLen - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stMaxLenUnits - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stHeightPercentLabel - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_tcHeightPercent - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stHeightPercentUnits - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stMaxHeight - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_tcMaxHeight - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_stMaxHeightUnits - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onTeardropsUpdateUi ) , NULL , this ) ;
m_curvePointsLabel - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onCurvedEdgesUpdateUi ) , NULL , this ) ;
m_curvePointsCtrl - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_TRACK_VIA_PROPERTIES_BASE : : onCurvedEdgesUpdateUi ) , NULL , this ) ;
2019-08-25 10:06:01 +00:00
2015-07-09 11:35:51 +00:00
}