diff --git a/pcbnew/dialogs/panel_setup_layers_base.cpp b/pcbnew/dialogs/panel_setup_layers_base.cpp index 8620ec5003..7575032921 100644 --- a/pcbnew/dialogs/panel_setup_layers_base.cpp +++ b/pcbnew/dialogs/panel_setup_layers_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Dec 30 2017) +// C++ code generated with wxFormBuilder (version Jul 10 2019) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -9,64 +9,61 @@ /////////////////////////////////////////////////////////////////////////// -PANEL_SETUP_LAYERS_BASE::PANEL_SETUP_LAYERS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style ) +PANEL_SETUP_LAYERS_BASE::PANEL_SETUP_LAYERS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) { wxBoxSizer* bMainSizer; bMainSizer = new wxBoxSizer( wxVERTICAL ); - + wxBoxSizer* bSizerMargins; bSizerMargins = new wxBoxSizer( wxVERTICAL ); - + wxString m_PresetsChoiceChoices[] = { _("Custom layer set"), _("Two layers, parts on Front"), _("Two layers, parts on Back"), _("Two layers, parts on Front & Back"), _("Four layers, parts on Front"), _("Four layers, parts on Front & Back"), _("All layers on") }; int m_PresetsChoiceNChoices = sizeof( m_PresetsChoiceChoices ) / sizeof( wxString ); m_PresetsChoice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_PresetsChoiceNChoices, m_PresetsChoiceChoices, 0 ); m_PresetsChoice->SetSelection( 0 ); bSizerMargins->Add( m_PresetsChoice, 0, wxALL|wxEXPAND, 5 ); - - wxFlexGridSizer* fgSizerBrdSetup; - fgSizerBrdSetup = new wxFlexGridSizer( 0, 3, 0, 0 ); - fgSizerBrdSetup->AddGrowableCol( 1 ); - fgSizerBrdSetup->SetFlexibleDirection( wxHORIZONTAL ); - fgSizerBrdSetup->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - + + wxBoxSizer* bSizer4; + bSizer4 = new wxBoxSizer( wxHORIZONTAL ); + m_staticTextCopperLayers = new wxStaticText( this, wxID_ANY, _("Copper layers:"), wxDefaultPosition, wxDefaultSize, 0 ); m_staticTextCopperLayers->Wrap( -1 ); - fgSizerBrdSetup->Add( m_staticTextCopperLayers, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 ); - + bSizer4->Add( m_staticTextCopperLayers, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 ); + wxString m_CopperLayersChoiceChoices[] = { _("2"), _("4"), _("6"), _("8"), _("10"), _("12"), _("14"), _("16"), _("18"), _("20"), _("22"), _("24"), _("26"), _("28"), _("30"), _("32") }; int m_CopperLayersChoiceNChoices = sizeof( m_CopperLayersChoiceChoices ) / sizeof( wxString ); m_CopperLayersChoice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_CopperLayersChoiceNChoices, m_CopperLayersChoiceChoices, 0 ); m_CopperLayersChoice->SetSelection( 0 ); - fgSizerBrdSetup->Add( m_CopperLayersChoice, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxALL, 3 ); - - - fgSizerBrdSetup->Add( 0, 0, 1, wxEXPAND, 5 ); - + bSizer4->Add( m_CopperLayersChoice, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxALL, 3 ); + + + bSizer4->Add( 40, 0, 0, 0, 5 ); + m_thicknessLabel = new wxStaticText( this, wxID_ANY, _("PCB thickness:"), wxDefaultPosition, wxDefaultSize, 0 ); m_thicknessLabel->Wrap( -1 ); - fgSizerBrdSetup->Add( m_thicknessLabel, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 ); - + bSizer4->Add( m_thicknessLabel, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 ); + m_thicknessCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_thicknessCtrl->SetMinSize( wxSize( 190,-1 ) ); - - fgSizerBrdSetup->Add( m_thicknessCtrl, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxALL, 3 ); - + + bSizer4->Add( m_thicknessCtrl, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxALL, 3 ); + m_thicknessUnits = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 ); m_thicknessUnits->Wrap( -1 ); - fgSizerBrdSetup->Add( m_thicknessUnits, 0, wxALL|wxALIGN_CENTER_VERTICAL, 3 ); - - - bSizerMargins->Add( fgSizerBrdSetup, 0, wxEXPAND|wxRIGHT|wxLEFT, 20 ); - + bSizer4->Add( m_thicknessUnits, 0, wxALL|wxALIGN_CENTER_VERTICAL, 3 ); + + + bSizerMargins->Add( bSizer4, 1, wxEXPAND, 5 ); + wxBoxSizer* bLineMargins; bLineMargins = new wxBoxSizer( wxVERTICAL ); - + m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); bLineMargins->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 ); - - + + bSizerMargins->Add( bLineMargins, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 ); - + m_LayersListPanel = new wxScrolledWindow( this, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxTAB_TRAVERSAL|wxVSCROLL ); m_LayersListPanel->SetScrollRate( 0, 5 ); m_LayerListFlexGridSizer = new wxFlexGridSizer( 0, 3, 2, 8 ); @@ -74,708 +71,708 @@ PANEL_SETUP_LAYERS_BASE::PANEL_SETUP_LAYERS_BASE( wxWindow* parent, wxWindowID i m_LayerListFlexGridSizer->AddGrowableCol( 2 ); m_LayerListFlexGridSizer->SetFlexibleDirection( wxHORIZONTAL ); m_LayerListFlexGridSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - + m_CrtYdFrontCheckBox = new wxCheckBox( m_LayersListPanel, ID_CRTYDFRONTCHECKBOX, wxEmptyString, wxDefaultPosition, wxSize( -1,-1 ), 0 ); m_CrtYdFrontCheckBox->SetToolTip( _("If you want a courtyard layer for the front side of the board") ); - + m_LayerListFlexGridSizer->Add( m_CrtYdFrontCheckBox, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_CENTER_HORIZONTAL|wxLEFT, 5 ); - + m_CrtYdFrontName = new wxStaticText( m_LayersListPanel, ID_CRTYDFRONTNAME, _("CrtYd_Front_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_CrtYdFrontName->Wrap( -1 ); m_CrtYdFrontName->SetMinSize( wxSize( 110,-1 ) ); - + m_LayerListFlexGridSizer->Add( m_CrtYdFrontName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_CrtYdFrontStaticText = new wxStaticText( m_LayersListPanel, ID_CRTYDFRONTCHOICE, _("Off-board, testing"), wxDefaultPosition, wxDefaultSize, 0 ); m_CrtYdFrontStaticText->Wrap( -1 ); m_CrtYdFrontStaticText->SetMinSize( wxSize( 150,-1 ) ); - + m_LayerListFlexGridSizer->Add( m_CrtYdFrontStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_FabFrontCheckBox = new wxCheckBox( m_LayersListPanel, ID_FABFRONTCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_FabFrontCheckBox->SetToolTip( _("If you want a fabrication layer for the front side of the board") ); - + m_LayerListFlexGridSizer->Add( m_FabFrontCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_FabFrontName = new wxStaticText( m_LayersListPanel, ID_FABFRONTNAME, _("Fab_Front_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_FabFrontName->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_FabFrontName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_FabFrontStaticText = new wxStaticText( m_LayersListPanel, ID_FABFRONTCHOICE, _("Off-board, manufacturing"), wxDefaultPosition, wxDefaultSize, 0 ); m_FabFrontStaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_FabFrontStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_AdhesFrontCheckBox = new wxCheckBox( m_LayersListPanel, ID_ADHESFRONTCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_AdhesFrontCheckBox->SetToolTip( _("If you want an adhesive template for the front side of the board") ); - + m_LayerListFlexGridSizer->Add( m_AdhesFrontCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_AdhesFrontName = new wxStaticText( m_LayersListPanel, ID_ADHESFRONTNAME, _("Adhes_Front_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_AdhesFrontName->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_AdhesFrontName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_AdhesFrontStaticText = new wxStaticText( m_LayersListPanel, ID_ADHESFRONTCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 ); m_AdhesFrontStaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_AdhesFrontStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_SoldPFrontCheckBox = new wxCheckBox( m_LayersListPanel, ID_SOLDPFRONTCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_SoldPFrontCheckBox->SetToolTip( _("If you want a solder paster layer for front side of the board") ); - + m_LayerListFlexGridSizer->Add( m_SoldPFrontCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_SoldPFrontName = new wxStaticText( m_LayersListPanel, ID_SOLDPFRONTNAME, _("SoldP_Front_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_SoldPFrontName->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_SoldPFrontName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_SoldPFrontStaticText = new wxStaticText( m_LayersListPanel, ID_SOLDPFRONTCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 ); m_SoldPFrontStaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_SoldPFrontStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_SilkSFrontCheckBox = new wxCheckBox( m_LayersListPanel, ID_SILKSFRONTCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_SilkSFrontCheckBox->SetToolTip( _("If you want a silk screen layer for the front side of the board") ); - + m_LayerListFlexGridSizer->Add( m_SilkSFrontCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_SilkSFrontName = new wxStaticText( m_LayersListPanel, ID_SILKSFRONTNAME, _("SilkS_Front_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_SilkSFrontName->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_SilkSFrontName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_SilkSFrontStaticText = new wxStaticText( m_LayersListPanel, ID_SILKSFRONTCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 ); m_SilkSFrontStaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_SilkSFrontStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_MaskFrontCheckBox = new wxCheckBox( m_LayersListPanel, ID_MASKFRONTCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_MaskFrontCheckBox->SetToolTip( _("If you want a solder mask layer for the front of the board") ); - + m_LayerListFlexGridSizer->Add( m_MaskFrontCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_MaskFrontName = new wxStaticText( m_LayersListPanel, ID_MASKFRONTNAME, _("Mask_Front_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_MaskFrontName->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_MaskFrontName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_MaskFrontStaticText = new wxStaticText( m_LayersListPanel, ID_MASKFRONTCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 ); m_MaskFrontStaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_MaskFrontStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_FrontCheckBox = new wxCheckBox( m_LayersListPanel, ID_FRONTCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_FrontCheckBox->SetToolTip( _("If you want a front copper layer") ); - + m_LayerListFlexGridSizer->Add( m_FrontCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_FrontName = new wxTextCtrl( m_LayersListPanel, ID_FRONTNAME, _("Front_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_FrontName->SetToolTip( _("Layer name of front (top) copper layer") ); - + m_LayerListFlexGridSizer->Add( m_FrontName, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_FrontChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_FrontChoiceNChoices = sizeof( m_FrontChoiceChoices ) / sizeof( wxString ); m_FrontChoice = new wxChoice( m_LayersListPanel, ID_FRONTCHOICE, wxDefaultPosition, wxDefaultSize, m_FrontChoiceNChoices, m_FrontChoiceChoices, 0 ); m_FrontChoice->SetSelection( 0 ); m_FrontChoice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_FrontChoice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In1CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN1CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In1CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In1Name = new wxTextCtrl( m_LayersListPanel, ID_IN1NAME, _("In1"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In1Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In1ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In1ChoiceNChoices = sizeof( m_In1ChoiceChoices ) / sizeof( wxString ); m_In1Choice = new wxChoice( m_LayersListPanel, ID_IN1CHOICE, wxDefaultPosition, wxDefaultSize, m_In1ChoiceNChoices, m_In1ChoiceChoices, 0 ); m_In1Choice->SetSelection( 0 ); m_In1Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In1Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In2CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN2CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In2CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In2Name = new wxTextCtrl( m_LayersListPanel, ID_IN2NAME, _("In2"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In2Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In2ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In2ChoiceNChoices = sizeof( m_In2ChoiceChoices ) / sizeof( wxString ); m_In2Choice = new wxChoice( m_LayersListPanel, ID_IN2CHOICE, wxDefaultPosition, wxDefaultSize, m_In2ChoiceNChoices, m_In2ChoiceChoices, 0 ); m_In2Choice->SetSelection( 0 ); m_In2Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In2Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In3CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN3CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In3CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In3Name = new wxTextCtrl( m_LayersListPanel, ID_IN3NAME, _("In3"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In3Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In3ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In3ChoiceNChoices = sizeof( m_In3ChoiceChoices ) / sizeof( wxString ); m_In3Choice = new wxChoice( m_LayersListPanel, ID_IN3CHOICE, wxDefaultPosition, wxDefaultSize, m_In3ChoiceNChoices, m_In3ChoiceChoices, 0 ); m_In3Choice->SetSelection( 0 ); m_In3Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In3Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In4CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN4CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In4CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In4Name = new wxTextCtrl( m_LayersListPanel, ID_IN4NAME, _("In4"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In4Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In4ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In4ChoiceNChoices = sizeof( m_In4ChoiceChoices ) / sizeof( wxString ); m_In4Choice = new wxChoice( m_LayersListPanel, ID_IN4CHOICE, wxDefaultPosition, wxDefaultSize, m_In4ChoiceNChoices, m_In4ChoiceChoices, 0 ); m_In4Choice->SetSelection( 0 ); m_In4Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In4Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In5CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN5CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In5CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In5Name = new wxTextCtrl( m_LayersListPanel, ID_IN5NAME, _("In5"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In5Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In5ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In5ChoiceNChoices = sizeof( m_In5ChoiceChoices ) / sizeof( wxString ); m_In5Choice = new wxChoice( m_LayersListPanel, ID_IN5CHOICE, wxDefaultPosition, wxDefaultSize, m_In5ChoiceNChoices, m_In5ChoiceChoices, 0 ); m_In5Choice->SetSelection( 0 ); m_In5Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In5Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In6CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN6CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In6CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In6Name = new wxTextCtrl( m_LayersListPanel, ID_IN6NAME, _("In6"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In6Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In6ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In6ChoiceNChoices = sizeof( m_In6ChoiceChoices ) / sizeof( wxString ); m_In6Choice = new wxChoice( m_LayersListPanel, ID_IN6CHOICE, wxDefaultPosition, wxDefaultSize, m_In6ChoiceNChoices, m_In6ChoiceChoices, 0 ); m_In6Choice->SetSelection( 0 ); m_In6Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In6Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In7CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN7CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In7CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In7Name = new wxTextCtrl( m_LayersListPanel, ID_IN7NAME, _("In7"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In7Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In7ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In7ChoiceNChoices = sizeof( m_In7ChoiceChoices ) / sizeof( wxString ); m_In7Choice = new wxChoice( m_LayersListPanel, ID_IN7CHOICE, wxDefaultPosition, wxDefaultSize, m_In7ChoiceNChoices, m_In7ChoiceChoices, 0 ); m_In7Choice->SetSelection( 0 ); m_In7Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In7Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In8CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN8CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In8CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In8Name = new wxTextCtrl( m_LayersListPanel, ID_IN8NAME, _("In8"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In8Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In8ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In8ChoiceNChoices = sizeof( m_In8ChoiceChoices ) / sizeof( wxString ); m_In8Choice = new wxChoice( m_LayersListPanel, ID_IN8CHOICE, wxDefaultPosition, wxDefaultSize, m_In8ChoiceNChoices, m_In8ChoiceChoices, 0 ); m_In8Choice->SetSelection( 0 ); m_In8Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In8Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In9CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN9CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In9CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In9Name = new wxTextCtrl( m_LayersListPanel, ID_IN9NAME, _("In9"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In9Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In9ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In9ChoiceNChoices = sizeof( m_In9ChoiceChoices ) / sizeof( wxString ); m_In9Choice = new wxChoice( m_LayersListPanel, ID_IN9CHOICE, wxDefaultPosition, wxDefaultSize, m_In9ChoiceNChoices, m_In9ChoiceChoices, 0 ); m_In9Choice->SetSelection( 0 ); m_In9Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In9Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In10CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN10CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In10CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In10Name = new wxTextCtrl( m_LayersListPanel, ID_IN10NAME, _("In10"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In10Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In10ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In10ChoiceNChoices = sizeof( m_In10ChoiceChoices ) / sizeof( wxString ); m_In10Choice = new wxChoice( m_LayersListPanel, ID_IN10CHOICE, wxDefaultPosition, wxDefaultSize, m_In10ChoiceNChoices, m_In10ChoiceChoices, 0 ); m_In10Choice->SetSelection( 0 ); m_In10Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In10Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In11CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN11CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In11CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In11Name = new wxTextCtrl( m_LayersListPanel, ID_IN11NAME, _("In11"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In11Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In11ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In11ChoiceNChoices = sizeof( m_In11ChoiceChoices ) / sizeof( wxString ); m_In11Choice = new wxChoice( m_LayersListPanel, ID_IN11CHOICE, wxDefaultPosition, wxDefaultSize, m_In11ChoiceNChoices, m_In11ChoiceChoices, 0 ); m_In11Choice->SetSelection( 0 ); m_In11Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In11Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In12CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN12CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In12CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In12Name = new wxTextCtrl( m_LayersListPanel, ID_IN12NAME, _("In12"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In12Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In12ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In12ChoiceNChoices = sizeof( m_In12ChoiceChoices ) / sizeof( wxString ); m_In12Choice = new wxChoice( m_LayersListPanel, ID_IN12CHOICE, wxDefaultPosition, wxDefaultSize, m_In12ChoiceNChoices, m_In12ChoiceChoices, 0 ); m_In12Choice->SetSelection( 0 ); m_In12Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In12Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In13CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN13CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In13CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In13Name = new wxTextCtrl( m_LayersListPanel, ID_IN13NAME, _("In13"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In13Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In13ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In13ChoiceNChoices = sizeof( m_In13ChoiceChoices ) / sizeof( wxString ); m_In13Choice = new wxChoice( m_LayersListPanel, ID_IN13CHOICE, wxDefaultPosition, wxDefaultSize, m_In13ChoiceNChoices, m_In13ChoiceChoices, 0 ); m_In13Choice->SetSelection( 0 ); m_In13Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In13Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In14CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN14CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In14CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In14Name = new wxTextCtrl( m_LayersListPanel, ID_IN14NAME, _("In14"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In14Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In14ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In14ChoiceNChoices = sizeof( m_In14ChoiceChoices ) / sizeof( wxString ); m_In14Choice = new wxChoice( m_LayersListPanel, ID_IN14CHOICE, wxDefaultPosition, wxDefaultSize, m_In14ChoiceNChoices, m_In14ChoiceChoices, 0 ); m_In14Choice->SetSelection( 0 ); m_In14Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In14Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In15CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN15CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In15CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In15Name = new wxTextCtrl( m_LayersListPanel, ID_IN15NAME, _("In15"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In15Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In15ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In15ChoiceNChoices = sizeof( m_In15ChoiceChoices ) / sizeof( wxString ); m_In15Choice = new wxChoice( m_LayersListPanel, ID_IN15CHOICE, wxDefaultPosition, wxDefaultSize, m_In15ChoiceNChoices, m_In15ChoiceChoices, 0 ); m_In15Choice->SetSelection( 0 ); m_In15Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In15Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In16CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN16CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In16CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In16Name = new wxTextCtrl( m_LayersListPanel, ID_IN16NAME, _("In16"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In16Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In16ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In16ChoiceNChoices = sizeof( m_In16ChoiceChoices ) / sizeof( wxString ); m_In16Choice = new wxChoice( m_LayersListPanel, ID_IN16CHOICE, wxDefaultPosition, wxDefaultSize, m_In16ChoiceNChoices, m_In16ChoiceChoices, 0 ); m_In16Choice->SetSelection( 0 ); m_In16Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In16Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In17CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN17CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In17CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In17Name = new wxTextCtrl( m_LayersListPanel, ID_IN17NAME, _("In17"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In17Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In17ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In17ChoiceNChoices = sizeof( m_In17ChoiceChoices ) / sizeof( wxString ); m_In17Choice = new wxChoice( m_LayersListPanel, ID_IN17CHOICE, wxDefaultPosition, wxDefaultSize, m_In17ChoiceNChoices, m_In17ChoiceChoices, 0 ); m_In17Choice->SetSelection( 0 ); m_In17Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In17Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In18CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN18CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In18CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In18Name = new wxTextCtrl( m_LayersListPanel, ID_IN18NAME, _("In18"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In18Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In18ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In18ChoiceNChoices = sizeof( m_In18ChoiceChoices ) / sizeof( wxString ); m_In18Choice = new wxChoice( m_LayersListPanel, ID_IN18CHOICE, wxDefaultPosition, wxDefaultSize, m_In18ChoiceNChoices, m_In18ChoiceChoices, 0 ); m_In18Choice->SetSelection( 0 ); m_In18Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In18Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In19CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN19CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In19CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In19Name = new wxTextCtrl( m_LayersListPanel, ID_IN19NAME, _("In19"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In19Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In19ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In19ChoiceNChoices = sizeof( m_In19ChoiceChoices ) / sizeof( wxString ); m_In19Choice = new wxChoice( m_LayersListPanel, ID_IN19CHOICE, wxDefaultPosition, wxDefaultSize, m_In19ChoiceNChoices, m_In19ChoiceChoices, 0 ); m_In19Choice->SetSelection( 0 ); m_In19Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In19Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In20CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN20CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In20CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In20Name = new wxTextCtrl( m_LayersListPanel, ID_IN20NAME, _("In20"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In20Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In20ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In20ChoiceNChoices = sizeof( m_In20ChoiceChoices ) / sizeof( wxString ); m_In20Choice = new wxChoice( m_LayersListPanel, ID_IN20CHOICE, wxDefaultPosition, wxDefaultSize, m_In20ChoiceNChoices, m_In20ChoiceChoices, 0 ); m_In20Choice->SetSelection( 0 ); m_In20Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In20Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In21CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN21CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In21CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In21Name = new wxTextCtrl( m_LayersListPanel, ID_IN21NAME, _("In21"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In21Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In21ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In21ChoiceNChoices = sizeof( m_In21ChoiceChoices ) / sizeof( wxString ); m_In21Choice = new wxChoice( m_LayersListPanel, ID_IN21CHOICE, wxDefaultPosition, wxDefaultSize, m_In21ChoiceNChoices, m_In21ChoiceChoices, 0 ); m_In21Choice->SetSelection( 0 ); m_In21Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In21Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In22CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN22CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In22CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In22Name = new wxTextCtrl( m_LayersListPanel, ID_IN22NAME, _("In22"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In22Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In22ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In22ChoiceNChoices = sizeof( m_In22ChoiceChoices ) / sizeof( wxString ); m_In22Choice = new wxChoice( m_LayersListPanel, ID_IN22CHOICE, wxDefaultPosition, wxDefaultSize, m_In22ChoiceNChoices, m_In22ChoiceChoices, 0 ); m_In22Choice->SetSelection( 0 ); m_In22Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In22Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In23CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN23CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In23CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In23Name = new wxTextCtrl( m_LayersListPanel, ID_IN23NAME, _("In23"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In23Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In23ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In23ChoiceNChoices = sizeof( m_In23ChoiceChoices ) / sizeof( wxString ); m_In23Choice = new wxChoice( m_LayersListPanel, ID_IN22CHOICE, wxDefaultPosition, wxDefaultSize, m_In23ChoiceNChoices, m_In23ChoiceChoices, 0 ); m_In23Choice->SetSelection( 0 ); m_In23Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In23Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In24CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN24CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In24CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In24Name = new wxTextCtrl( m_LayersListPanel, ID_IN24NAME, _("In24"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In24Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In24ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In24ChoiceNChoices = sizeof( m_In24ChoiceChoices ) / sizeof( wxString ); m_In24Choice = new wxChoice( m_LayersListPanel, ID_IN24CHOICE, wxDefaultPosition, wxDefaultSize, m_In24ChoiceNChoices, m_In24ChoiceChoices, 0 ); m_In24Choice->SetSelection( 0 ); m_In24Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In24Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In25CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN25CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In25CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In25Name = new wxTextCtrl( m_LayersListPanel, ID_IN25NAME, _("In25"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In25Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In25ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In25ChoiceNChoices = sizeof( m_In25ChoiceChoices ) / sizeof( wxString ); m_In25Choice = new wxChoice( m_LayersListPanel, ID_IN25CHOICE, wxDefaultPosition, wxDefaultSize, m_In25ChoiceNChoices, m_In25ChoiceChoices, 0 ); m_In25Choice->SetSelection( 0 ); m_In25Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In25Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In26CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN26CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In26CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In26Name = new wxTextCtrl( m_LayersListPanel, ID_IN26NAME, _("In26"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In26Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In26ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In26ChoiceNChoices = sizeof( m_In26ChoiceChoices ) / sizeof( wxString ); m_In26Choice = new wxChoice( m_LayersListPanel, ID_IN26CHOICE, wxDefaultPosition, wxDefaultSize, m_In26ChoiceNChoices, m_In26ChoiceChoices, 0 ); m_In26Choice->SetSelection( 0 ); m_In26Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In26Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In27CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN27CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In27CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In27Name = new wxTextCtrl( m_LayersListPanel, ID_IN27NAME, _("In27"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In27Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In27ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In27ChoiceNChoices = sizeof( m_In27ChoiceChoices ) / sizeof( wxString ); m_In27Choice = new wxChoice( m_LayersListPanel, ID_IN27CHOICE, wxDefaultPosition, wxDefaultSize, m_In27ChoiceNChoices, m_In27ChoiceChoices, 0 ); m_In27Choice->SetSelection( 0 ); m_In27Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In27Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In28CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN28CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In28CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In28Name = new wxTextCtrl( m_LayersListPanel, ID_IN28NAME, _("In28"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In28Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In28ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In28ChoiceNChoices = sizeof( m_In28ChoiceChoices ) / sizeof( wxString ); m_In28Choice = new wxChoice( m_LayersListPanel, ID_IN28CHOICE, wxDefaultPosition, wxDefaultSize, m_In28ChoiceNChoices, m_In28ChoiceChoices, 0 ); m_In28Choice->SetSelection( 0 ); m_In28Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In28Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In29CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN29CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In29CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In29Name = new wxTextCtrl( m_LayersListPanel, ID_IN29NAME, _("In29"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In29Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In29ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In29ChoiceNChoices = sizeof( m_In29ChoiceChoices ) / sizeof( wxString ); m_In29Choice = new wxChoice( m_LayersListPanel, ID_IN29CHOICE, wxDefaultPosition, wxDefaultSize, m_In29ChoiceNChoices, m_In29ChoiceChoices, 0 ); m_In29Choice->SetSelection( 0 ); m_In29Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In29Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_In30CheckBox = new wxCheckBox( m_LayersListPanel, ID_IN30CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In30CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_In30Name = new wxTextCtrl( m_LayersListPanel, ID_IN30NAME, _("In30"), wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_In30Name, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_In30ChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_In30ChoiceNChoices = sizeof( m_In30ChoiceChoices ) / sizeof( wxString ); m_In30Choice = new wxChoice( m_LayersListPanel, ID_IN30CHOICE, wxDefaultPosition, wxDefaultSize, m_In30ChoiceNChoices, m_In30ChoiceChoices, 0 ); m_In30Choice->SetSelection( 0 ); m_In30Choice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_In30Choice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_BackCheckBox = new wxCheckBox( m_LayersListPanel, ID_BACKCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_BackCheckBox->SetToolTip( _("If you want a back copper layer") ); - + m_LayerListFlexGridSizer->Add( m_BackCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_BackName = new wxTextCtrl( m_LayersListPanel, ID_BACKNAME, _("Back"), wxDefaultPosition, wxDefaultSize, 0 ); m_BackName->SetToolTip( _("Layer name of back (bottom) copper layer") ); - + m_LayerListFlexGridSizer->Add( m_BackName, 0, wxEXPAND|wxRIGHT, 5 ); - + wxString m_BackChoiceChoices[] = { _("signal"), _("power plane"), _("mixed"), _("jumper") }; int m_BackChoiceNChoices = sizeof( m_BackChoiceChoices ) / sizeof( wxString ); m_BackChoice = new wxChoice( m_LayersListPanel, ID_BACKCHOICE, wxDefaultPosition, wxDefaultSize, m_BackChoiceNChoices, m_BackChoiceChoices, 0 ); m_BackChoice->SetSelection( 0 ); m_BackChoice->SetToolTip( _("Copper layer type for Freerouter and other external routers.\nPower plane layers are removed from Freerouter's layer menus.") ); - + m_LayerListFlexGridSizer->Add( m_BackChoice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); - + m_MaskBackCheckBox = new wxCheckBox( m_LayersListPanel, ID_MASKBACKCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_MaskBackCheckBox->SetToolTip( _("If you want a solder mask layer for the back side of the board") ); - + m_LayerListFlexGridSizer->Add( m_MaskBackCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_MaskBackName = new wxStaticText( m_LayersListPanel, ID_MASKBACKNAME, _("Mask_Back_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_MaskBackName->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_MaskBackName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_MaskBackStaticText = new wxStaticText( m_LayersListPanel, ID_MASKBACKCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 ); m_MaskBackStaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_MaskBackStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_SilkSBackCheckBox = new wxCheckBox( m_LayersListPanel, ID_SILKSBACKCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_SilkSBackCheckBox->SetToolTip( _("If you want a silk screen layer for the back side of the board") ); - + m_LayerListFlexGridSizer->Add( m_SilkSBackCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_SilkSBackName = new wxStaticText( m_LayersListPanel, ID_SILKSBACKNAME, _("SilkS_Back_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_SilkSBackName->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_SilkSBackName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_SilkSBackStaticText = new wxStaticText( m_LayersListPanel, ID_SILKSBACKCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 ); m_SilkSBackStaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_SilkSBackStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_SoldPBackCheckBox = new wxCheckBox( m_LayersListPanel, ID_SOLDPBACKCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_SoldPBackCheckBox->SetToolTip( _("If you want a solder paste layer for the back side of the board") ); - + m_LayerListFlexGridSizer->Add( m_SoldPBackCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_SoldPBackName = new wxStaticText( m_LayersListPanel, ID_SOLDPBACKNAME, _("SoldP_Back_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_SoldPBackName->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_SoldPBackName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_SoldPBackStaticText = new wxStaticText( m_LayersListPanel, ID_SOLDPBACKCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 ); m_SoldPBackStaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_SoldPBackStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_AdhesBackCheckBox = new wxCheckBox( m_LayersListPanel, ID_ADHESBACKCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_AdhesBackCheckBox->SetToolTip( _("If you want an adhesive layer for the back side of the board") ); - + m_LayerListFlexGridSizer->Add( m_AdhesBackCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_AdhesBackName = new wxStaticText( m_LayersListPanel, ID_ADHESBACKNAME, _("Adhes_Back_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_AdhesBackName->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_AdhesBackName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_AdhesBackStaticText = new wxStaticText( m_LayersListPanel, ID_ADHESBACKCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 ); m_AdhesBackStaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_AdhesBackStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_FabBackCheckBox = new wxCheckBox( m_LayersListPanel, ID_FABBACKCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_FabBackCheckBox->SetToolTip( _("If you want a fabrication layer for the back side of the board") ); - + m_LayerListFlexGridSizer->Add( m_FabBackCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_FabBackName = new wxStaticText( m_LayersListPanel, ID_FABBACKNAME, _("Fab_Back_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_FabBackName->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_FabBackName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_FabBackStaticText = new wxStaticText( m_LayersListPanel, ID_FABBACKCHOICE, _("Off-board, manufacturing"), wxDefaultPosition, wxDefaultSize, 0 ); m_FabBackStaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_FabBackStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_CrtYdBackCheckBox = new wxCheckBox( m_LayersListPanel, ID_CRTYDBACKCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_CrtYdBackCheckBox->SetToolTip( _("If you want a courtyard layer for the back side of the board") ); - + m_LayerListFlexGridSizer->Add( m_CrtYdBackCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_CrtYdBackName = new wxStaticText( m_LayersListPanel, ID_CRTYDBACKNAME, _("CrtYd_Back_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_CrtYdBackName->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_CrtYdBackName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_CrtYdBackStaticText = new wxStaticText( m_LayersListPanel, ID_CRTYDBACKCHOICE, _("Off-board, testing"), wxDefaultPosition, wxDefaultSize, 0 ); m_CrtYdBackStaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_CrtYdBackStaticText, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 ); - + m_PCBEdgesCheckBox = new wxCheckBox( m_LayersListPanel, ID_PCBEDGESCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_PCBEdgesCheckBox->SetToolTip( _("If you want a board perimeter layer") ); - + m_LayerListFlexGridSizer->Add( m_PCBEdgesCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_PCBEdgesName = new wxStaticText( m_LayersListPanel, ID_PCBEDGESNAME, _("PCB_Edges_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_PCBEdgesName->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_PCBEdgesName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_PCBEdgesStaticText = new wxStaticText( m_LayersListPanel, ID_PCBEDGESCHOICE, _("Board contour"), wxDefaultPosition, wxDefaultSize, 0 ); m_PCBEdgesStaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_PCBEdgesStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_MarginCheckBox = new wxCheckBox( m_LayersListPanel, ID_MARGINCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_MarginCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_MarginName = new wxStaticText( m_LayersListPanel, ID_MARGINNAME, _("Margin_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_MarginName->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_MarginName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_MarginStaticText = new wxStaticText( m_LayersListPanel, ID_ECO2CHOICE, _("Edge_Cuts setback"), wxDefaultPosition, wxDefaultSize, 0 ); m_MarginStaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_MarginStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_Eco1CheckBox = new wxCheckBox( m_LayersListPanel, ID_ECO2CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_Eco1CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_Eco1Name = new wxStaticText( m_LayersListPanel, ID_ECO2NAME, _("Eco1_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_Eco1Name->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_Eco1Name, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_Eco1StaticText = new wxStaticText( m_LayersListPanel, ID_ECO2CHOICE, _("Auxiliary"), wxDefaultPosition, wxDefaultSize, 0 ); m_Eco1StaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_Eco1StaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_Eco2CheckBox = new wxCheckBox( m_LayersListPanel, ID_ECO1CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_LayerListFlexGridSizer->Add( m_Eco2CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_Eco2Name = new wxStaticText( m_LayersListPanel, ID_ECO1NAME, _("Eco2_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_Eco2Name->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_Eco2Name, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_Eco2StaticText = new wxStaticText( m_LayersListPanel, ID_ECO1CHOICE, _("Auxiliary"), wxDefaultPosition, wxDefaultSize, 0 ); m_Eco2StaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_Eco2StaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_CommentsCheckBox = new wxCheckBox( m_LayersListPanel, ID_COMMENTSCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_CommentsCheckBox->SetToolTip( _("If you want a separate layer for comments or notes") ); - + m_LayerListFlexGridSizer->Add( m_CommentsCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_CommentsName = new wxStaticText( m_LayersListPanel, ID_COMMENTSNAME, _("Comments_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_CommentsName->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_CommentsName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_CommentsStaticText = new wxStaticText( m_LayersListPanel, ID_COMMENTSCHOICE, _("Auxiliary"), wxDefaultPosition, wxDefaultSize, 0 ); m_CommentsStaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_CommentsStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - + m_DrawingsCheckBox = new wxCheckBox( m_LayersListPanel, ID_DRAWINGSCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_DrawingsCheckBox->SetToolTip( _("If you want a layer for documentation drawings") ); - + m_LayerListFlexGridSizer->Add( m_DrawingsCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT, 5 ); - + m_DrawingsName = new wxStaticText( m_LayersListPanel, ID_DRAWINGSNAME, _("Drawings_layer"), wxDefaultPosition, wxDefaultSize, 0 ); m_DrawingsName->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_DrawingsName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - + m_DrawingsStaticText = new wxStaticText( m_LayersListPanel, ID_DRAWINGSCHOICE, _("Auxiliary"), wxDefaultPosition, wxDefaultSize, 0 ); m_DrawingsStaticText->Wrap( -1 ); m_LayerListFlexGridSizer->Add( m_DrawingsStaticText, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - - + + m_LayersListPanel->SetSizer( m_LayerListFlexGridSizer ); m_LayersListPanel->Layout(); m_LayerListFlexGridSizer->Fit( m_LayersListPanel ); bSizerMargins->Add( m_LayersListPanel, 1, wxEXPAND|wxALL, 5 ); - - + + bMainSizer->Add( bSizerMargins, 1, wxEXPAND|wxRIGHT, 10 ); - - + + this->SetSizer( bMainSizer ); this->Layout(); - + // Connect Events m_PresetsChoice->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( PANEL_SETUP_LAYERS_BASE::OnPresetsChoice ), NULL, this ); m_CopperLayersChoice->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( PANEL_SETUP_LAYERS_BASE::OnCopperLayersChoice ), NULL, this ); @@ -886,5 +883,5 @@ PANEL_SETUP_LAYERS_BASE::~PANEL_SETUP_LAYERS_BASE() m_Eco2CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( PANEL_SETUP_LAYERS_BASE::OnCheckBox ), NULL, this ); m_CommentsCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( PANEL_SETUP_LAYERS_BASE::OnCheckBox ), NULL, this ); m_DrawingsCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( PANEL_SETUP_LAYERS_BASE::OnCheckBox ), NULL, this ); - + } diff --git a/pcbnew/dialogs/panel_setup_layers_base.fbp b/pcbnew/dialogs/panel_setup_layers_base.fbp index b72633023a..23236c5b13 100644 --- a/pcbnew/dialogs/panel_setup_layers_base.fbp +++ b/pcbnew/dialogs/panel_setup_layers_base.fbp @@ -1,6 +1,6 @@ - + C++ @@ -14,6 +14,8 @@ panel_setup_layers_base 1000 none + + 1 PANEL_SETUP_LAYERS @@ -24,6 +26,7 @@ 1 1 UI + 0 0 0 @@ -48,36 +51,6 @@ wxTAB_TRAVERSAL - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bMainSizer @@ -154,48 +127,18 @@ - OnPresetsChoice - - - - - - - - - - - - - - - - - - - - - - - 20 - wxEXPAND|wxRIGHT|wxLEFT - 0 - - 3 - wxHORIZONTAL - 1 - - 0 + 5 + wxEXPAND + 1 + - fgSizerBrdSetup - wxFLEX_GROWMODE_SPECIFIED + bSizer4 + wxHORIZONTAL none - 0 - 0 3 wxALIGN_CENTER_VERTICAL|wxALL @@ -229,6 +172,7 @@ 0 wxID_ANY Copper layers: + 0 0 @@ -254,29 +198,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -341,40 +262,17 @@ - OnCopperLayersChoice - - - - - - - - - - - - - - - - - - - - - - 5 - wxEXPAND - 1 + + 0 0 protected - 0 + 40 @@ -410,6 +308,7 @@ 0 wxID_ANY PCB thickness: + 0 0 @@ -435,29 +334,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -522,33 +398,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -584,6 +433,7 @@ 0 wxID_ANY mm + 0 0 @@ -609,29 +459,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -701,29 +528,6 @@ - - - - - - - - - - - - - - - - - - - - - - - @@ -785,29 +589,6 @@ wxTAB_TRAVERSAL|wxVSCROLL - - - - - - - - - - - - - - - - - - - - - - - 3 wxHORIZONTAL @@ -882,30 +663,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -941,6 +699,7 @@ 0 ID_CRTYDFRONTNAME CrtYd_Front_layer + 0 0 @@ -966,29 +725,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -1024,6 +760,7 @@ 0 ID_CRTYDFRONTCHOICE Off-board, testing + 0 0 @@ -1049,29 +786,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -1136,30 +850,7 @@ - OnCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -1195,6 +886,7 @@ 0 ID_FABFRONTNAME Fab_Front_layer + 0 0 @@ -1220,29 +912,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -1278,6 +947,7 @@ 0 ID_FABFRONTCHOICE Off-board, manufacturing + 0 0 @@ -1303,29 +973,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -1390,30 +1037,7 @@ - OnCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -1449,6 +1073,7 @@ 0 ID_ADHESFRONTNAME Adhes_Front_layer + 0 0 @@ -1474,29 +1099,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -1532,6 +1134,7 @@ 0 ID_ADHESFRONTCHOICE On-board, non-copper + 0 0 @@ -1557,29 +1160,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -1644,30 +1224,7 @@ - OnCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -1703,6 +1260,7 @@ 0 ID_SOLDPFRONTNAME SoldP_Front_layer + 0 0 @@ -1728,29 +1286,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -1786,6 +1321,7 @@ 0 ID_SOLDPFRONTCHOICE On-board, non-copper + 0 0 @@ -1811,29 +1347,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -1898,30 +1411,7 @@ - OnCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -1957,6 +1447,7 @@ 0 ID_SILKSFRONTNAME SilkS_Front_layer + 0 0 @@ -1982,29 +1473,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -2040,6 +1508,7 @@ 0 ID_SILKSFRONTCHOICE On-board, non-copper + 0 0 @@ -2065,29 +1534,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -2152,30 +1598,7 @@ - OnCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -2211,6 +1634,7 @@ 0 ID_MASKFRONTNAME Mask_Front_layer + 0 0 @@ -2236,29 +1660,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -2294,6 +1695,7 @@ 0 ID_MASKFRONTCHOICE On-board, non-copper + 0 0 @@ -2319,29 +1721,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -2406,30 +1785,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -2494,33 +1850,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2585,30 +1914,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -2673,30 +1978,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -2761,33 +2043,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2852,30 +2107,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -2940,30 +2171,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -3028,33 +2236,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -3119,30 +2300,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -3207,30 +2364,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -3295,33 +2429,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -3386,30 +2493,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -3474,30 +2557,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -3562,33 +2622,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -3653,30 +2686,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -3741,30 +2750,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -3829,33 +2815,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -3920,30 +2879,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -4008,30 +2943,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -4096,33 +3008,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -4187,30 +3072,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -4275,30 +3136,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -4363,33 +3201,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -4454,30 +3265,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -4542,30 +3329,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -4630,33 +3394,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -4721,30 +3458,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -4809,30 +3522,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -4897,33 +3587,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -4988,30 +3651,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -5076,30 +3715,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -5164,33 +3780,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -5255,30 +3844,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -5343,30 +3908,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -5431,33 +3973,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -5522,30 +4037,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -5610,30 +4101,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -5698,33 +4166,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -5789,30 +4230,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -5877,30 +4294,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -5965,33 +4359,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -6056,30 +4423,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -6144,30 +4487,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -6232,33 +4552,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -6323,30 +4616,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -6411,30 +4680,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -6499,33 +4745,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -6590,30 +4809,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -6678,30 +4873,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -6766,33 +4938,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -6857,30 +5002,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -6945,30 +5066,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -7033,33 +5131,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -7124,30 +5195,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -7212,30 +5259,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -7300,33 +5324,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -7391,30 +5388,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -7479,30 +5452,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -7567,33 +5517,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -7658,30 +5581,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -7746,30 +5645,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -7834,33 +5710,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -7925,30 +5774,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -8013,30 +5838,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -8101,33 +5903,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -8192,30 +5967,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -8280,30 +6031,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -8368,33 +6096,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -8459,30 +6160,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -8547,30 +6224,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -8635,33 +6289,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -8726,30 +6353,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -8814,30 +6417,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -8902,33 +6482,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -8993,30 +6546,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -9081,30 +6610,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -9169,33 +6675,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -9260,30 +6739,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -9348,30 +6803,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -9436,33 +6868,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -9527,30 +6932,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -9615,30 +6996,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -9703,33 +7061,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -9794,30 +7125,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -9882,30 +7189,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -9970,33 +7254,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -10061,30 +7318,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -10149,30 +7382,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -10237,33 +7447,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -10328,30 +7511,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -10416,30 +7575,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -10504,33 +7640,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -10595,30 +7704,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -10683,30 +7768,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -10771,33 +7833,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -10862,30 +7897,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -10950,30 +7961,7 @@ - OnCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -11009,6 +7997,7 @@ 0 ID_MASKBACKNAME Mask_Back_layer + 0 0 @@ -11034,29 +8023,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -11092,6 +8058,7 @@ 0 ID_MASKBACKCHOICE On-board, non-copper + 0 0 @@ -11117,29 +8084,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -11204,30 +8148,7 @@ - OnCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -11263,6 +8184,7 @@ 0 ID_SILKSBACKNAME SilkS_Back_layer + 0 0 @@ -11288,29 +8210,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -11346,6 +8245,7 @@ 0 ID_SILKSBACKCHOICE On-board, non-copper + 0 0 @@ -11371,29 +8271,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -11458,30 +8335,7 @@ - OnCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -11517,6 +8371,7 @@ 0 ID_SOLDPBACKNAME SoldP_Back_layer + 0 0 @@ -11542,29 +8397,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -11600,6 +8432,7 @@ 0 ID_SOLDPBACKCHOICE On-board, non-copper + 0 0 @@ -11625,29 +8458,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -11712,30 +8522,7 @@ - OnCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -11771,6 +8558,7 @@ 0 ID_ADHESBACKNAME Adhes_Back_layer + 0 0 @@ -11796,29 +8584,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -11854,6 +8619,7 @@ 0 ID_ADHESBACKCHOICE On-board, non-copper + 0 0 @@ -11879,29 +8645,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -11966,30 +8709,7 @@ - OnCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -12025,6 +8745,7 @@ 0 ID_FABBACKNAME Fab_Back_layer + 0 0 @@ -12050,29 +8771,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -12108,6 +8806,7 @@ 0 ID_FABBACKCHOICE Off-board, manufacturing + 0 0 @@ -12133,29 +8832,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -12220,30 +8896,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -12279,6 +8932,7 @@ 0 ID_CRTYDBACKNAME CrtYd_Back_layer + 0 0 @@ -12304,29 +8958,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -12362,6 +8993,7 @@ 0 ID_CRTYDBACKCHOICE Off-board, testing + 0 0 @@ -12387,29 +9019,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -12474,30 +9083,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -12533,6 +9119,7 @@ 0 ID_PCBEDGESNAME PCB_Edges_layer + 0 0 @@ -12558,29 +9145,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -12616,6 +9180,7 @@ 0 ID_PCBEDGESCHOICE Board contour + 0 0 @@ -12641,29 +9206,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -12728,30 +9270,7 @@ - DenyChangeCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -12787,6 +9306,7 @@ 0 ID_MARGINNAME Margin_layer + 0 0 @@ -12812,29 +9332,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -12870,6 +9367,7 @@ 0 ID_ECO2CHOICE Edge_Cuts setback + 0 0 @@ -12895,29 +9393,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -12982,30 +9457,7 @@ - OnCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -13041,6 +9493,7 @@ 0 ID_ECO2NAME Eco1_layer + 0 0 @@ -13066,29 +9519,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -13124,6 +9554,7 @@ 0 ID_ECO2CHOICE Auxiliary + 0 0 @@ -13149,29 +9580,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -13236,30 +9644,7 @@ - OnCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -13295,6 +9680,7 @@ 0 ID_ECO1NAME Eco2_layer + 0 0 @@ -13320,29 +9706,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -13378,6 +9741,7 @@ 0 ID_ECO1CHOICE Auxiliary + 0 0 @@ -13403,29 +9767,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -13490,30 +9831,7 @@ - OnCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -13549,6 +9867,7 @@ 0 ID_COMMENTSNAME Comments_layer + 0 0 @@ -13574,29 +9893,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -13632,6 +9928,7 @@ 0 ID_COMMENTSCHOICE Auxiliary + 0 0 @@ -13657,29 +9954,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -13744,30 +10018,7 @@ - OnCheckBox - - - - - - - - - - - - - - - - - - - - - - @@ -13803,6 +10054,7 @@ 0 ID_DRAWINGSNAME Drawings_layer + 0 0 @@ -13828,29 +10080,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - @@ -13886,6 +10115,7 @@ 0 ID_DRAWINGSCHOICE Auxiliary + 0 0 @@ -13911,29 +10141,6 @@ -1 - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pcbnew/dialogs/panel_setup_layers_base.h b/pcbnew/dialogs/panel_setup_layers_base.h index f81a3686db..e966686e39 100644 --- a/pcbnew/dialogs/panel_setup_layers_base.h +++ b/pcbnew/dialogs/panel_setup_layers_base.h @@ -1,12 +1,11 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Dec 30 2017) +// C++ code generated with wxFormBuilder (version Jul 10 2019) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// -#ifndef __PANEL_SETUP_LAYERS_BASE_H__ -#define __PANEL_SETUP_LAYERS_BASE_H__ +#pragma once #include #include @@ -179,10 +178,10 @@ /////////////////////////////////////////////////////////////////////////////// /// Class PANEL_SETUP_LAYERS_BASE /////////////////////////////////////////////////////////////////////////////// -class PANEL_SETUP_LAYERS_BASE : public wxPanel +class PANEL_SETUP_LAYERS_BASE : public wxPanel { private: - + protected: wxChoice* m_PresetsChoice; wxStaticText* m_staticTextCopperLayers; @@ -343,19 +342,18 @@ class PANEL_SETUP_LAYERS_BASE : public wxPanel wxCheckBox* m_DrawingsCheckBox; wxStaticText* m_DrawingsName; wxStaticText* m_DrawingsStaticText; - + // Virtual event handlers, overide them in your derived class virtual void OnPresetsChoice( wxCommandEvent& event ) { event.Skip(); } virtual void OnCopperLayersChoice( wxCommandEvent& event ) { event.Skip(); } virtual void DenyChangeCheckBox( wxCommandEvent& event ) { event.Skip(); } virtual void OnCheckBox( wxCommandEvent& event ) { event.Skip(); } - - + + public: - - PANEL_SETUP_LAYERS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 585,545 ), long style = wxTAB_TRAVERSAL ); + + PANEL_SETUP_LAYERS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 585,545 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); ~PANEL_SETUP_LAYERS_BASE(); - + }; -#endif //__PANEL_SETUP_LAYERS_BASE_H__