KiCad PCB EDA Suite
dialog_layers_setup_base.cpp
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version May 6 2016)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO "NOT" EDIT THIS FILE!
7 
9 
11 
12 DIALOG_LAYERS_SETUP_BASE::DIALOG_LAYERS_SETUP_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
13 {
14  this->SetSizeHints( wxSize( 550,600 ), wxDefaultSize );
15 
16  wxBoxSizer* bMainSizer;
17  bMainSizer = new wxBoxSizer( wxVERTICAL );
18 
19  wxBoxSizer* bChoicesSizer;
20  bChoicesSizer = new wxBoxSizer( wxHORIZONTAL );
21 
22  wxBoxSizer* bPresetsSizer;
23  bPresetsSizer = new wxBoxSizer( wxVERTICAL );
24 
25  m_staticTextGrouping = new wxStaticText( this, wxID_ANY, _("Preset Layer Groupings"), wxDefaultPosition, wxDefaultSize, 0 );
26  m_staticTextGrouping->Wrap( -1 );
27  bPresetsSizer->Add( m_staticTextGrouping, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
28 
29  wxString m_PresetsChoiceChoices[] = { _("Custom"), _("Two layers, parts on Front only"), _("Two layers, parts on Back only"), _("Two layers, parts on Front and Back"), _("Four layers, parts on Front only"), _("Four layers, parts on Front and Back"), _("All layers on") };
30  int m_PresetsChoiceNChoices = sizeof( m_PresetsChoiceChoices ) / sizeof( wxString );
31  m_PresetsChoice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_PresetsChoiceNChoices, m_PresetsChoiceChoices, 0 );
32  m_PresetsChoice->SetSelection( 0 );
33  bPresetsSizer->Add( m_PresetsChoice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
34 
35 
36  bChoicesSizer->Add( bPresetsSizer, 0, wxEXPAND, 5 );
37 
38  wxBoxSizer* bCopperLayersSizer;
39  bCopperLayersSizer = new wxBoxSizer( wxVERTICAL );
40 
41  m_staticTextCopperLayers = new wxStaticText( this, wxID_ANY, _("Copper Layers"), wxDefaultPosition, wxDefaultSize, 0 );
42  m_staticTextCopperLayers->Wrap( -1 );
43  bCopperLayersSizer->Add( m_staticTextCopperLayers, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
44 
45  wxString m_CopperLayersChoiceChoices[] = { _("2"), _("4"), _("6"), _("8"), _("10"), _("12"), _("14"), _("16"), _("18"), _("20"), _("22"), _("24"), _("26"), _("28"), _("30"), _("32") };
46  int m_CopperLayersChoiceNChoices = sizeof( m_CopperLayersChoiceChoices ) / sizeof( wxString );
47  m_CopperLayersChoice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_CopperLayersChoiceNChoices, m_CopperLayersChoiceChoices, 0 );
48  m_CopperLayersChoice->SetSelection( 0 );
49  bCopperLayersSizer->Add( m_CopperLayersChoice, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
50 
51 
52  bChoicesSizer->Add( bCopperLayersSizer, 0, wxEXPAND, 5 );
53 
54  wxBoxSizer* bBrdThicknessSizer;
55  bBrdThicknessSizer = new wxBoxSizer( wxVERTICAL );
56 
57  m_staticTextBrdThickness = new wxStaticText( this, wxID_ANY, _("Board Thickness"), wxDefaultPosition, wxDefaultSize, 0 );
58  m_staticTextBrdThickness->Wrap( -1 );
59  bBrdThicknessSizer->Add( m_staticTextBrdThickness, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
60 
61  wxFlexGridSizer* fgSizerBrdThickness;
62  fgSizerBrdThickness = new wxFlexGridSizer( 0, 2, 0, 0 );
63  fgSizerBrdThickness->AddGrowableCol( 0 );
64  fgSizerBrdThickness->SetFlexibleDirection( wxBOTH );
65  fgSizerBrdThickness->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
66 
67  m_textCtrlBrdThickness = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
68  #ifdef __WXGTK__
69  if ( !m_textCtrlBrdThickness->HasFlag( wxTE_MULTILINE ) )
70  {
71  m_textCtrlBrdThickness->SetMaxLength( 20 );
72  }
73  #else
74  m_textCtrlBrdThickness->SetMaxLength( 20 );
75  #endif
76  fgSizerBrdThickness->Add( m_textCtrlBrdThickness, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
77 
78  m_staticTextBrdThicknessUnit = new wxStaticText( this, wxID_ANY, _("Unit"), wxDefaultPosition, wxDefaultSize, 0 );
79  m_staticTextBrdThicknessUnit->Wrap( -1 );
80  fgSizerBrdThickness->Add( m_staticTextBrdThicknessUnit, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
81 
82 
83  bBrdThicknessSizer->Add( fgSizerBrdThickness, 1, wxEXPAND, 5 );
84 
85 
86  bChoicesSizer->Add( bBrdThicknessSizer, 1, wxEXPAND, 5 );
87 
88 
89  bMainSizer->Add( bChoicesSizer, 0, wxEXPAND, 5 );
90 
91  wxBoxSizer* b_layersListSizer;
92  b_layersListSizer = new wxBoxSizer( wxVERTICAL );
93 
94  m_staticTextLayers = new wxStaticText( this, wxID_ANY, _("Layers"), wxDefaultPosition, wxDefaultSize, 0 );
95  m_staticTextLayers->Wrap( -1 );
96  b_layersListSizer->Add( m_staticTextLayers, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
97 
98  wxBoxSizer* bCaptionsSizer;
99  bCaptionsSizer = new wxBoxSizer( wxHORIZONTAL );
100 
101  m_TitlePanel = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxRAISED_BORDER|wxTAB_TRAVERSAL );
102  m_TitlePanel->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_CAPTIONTEXT ) );
103  m_TitlePanel->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_ACTIVECAPTION ) );
104  m_TitlePanel->SetMinSize( wxSize( -1,15 ) );
105 
106  bCaptionsSizer->Add( m_TitlePanel, 1, wxEXPAND, 5 );
107 
108 
109  b_layersListSizer->Add( bCaptionsSizer, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
110 
111  m_LayersListPanel = new wxScrolledWindow( this, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxRAISED_BORDER|wxTAB_TRAVERSAL|wxVSCROLL );
112  m_LayersListPanel->SetScrollRate( 0, 5 );
113  m_LayerListFlexGridSizer = new wxFlexGridSizer( 0, 3, 0, 0 );
114  m_LayerListFlexGridSizer->AddGrowableCol( 0 );
115  m_LayerListFlexGridSizer->SetFlexibleDirection( wxHORIZONTAL );
116  m_LayerListFlexGridSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
117 
118  m_CrtYdFrontName = new wxStaticText( m_LayersListPanel, ID_CRTYDFRONTNAME, _("CrtYd_Front_later"), wxDefaultPosition, wxDefaultSize, 0 );
119  m_CrtYdFrontName->Wrap( -1 );
120  m_LayerListFlexGridSizer->Add( m_CrtYdFrontName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
121 
122  m_CrtYdFrontPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), 0 );
123  m_CrtYdFrontPanel->SetBackgroundColour( wxColour( 255, 233, 236 ) );
124 
125  wxBoxSizer* bSizer611;
126  bSizer611 = new wxBoxSizer( wxHORIZONTAL );
127 
128 
129  bSizer611->Add( 0, 0, 0, wxRIGHT|wxALIGN_CENTER_VERTICAL, 15 );
130 
131  m_CrtYdFrontCheckBox = new wxCheckBox( m_CrtYdFrontPanel, ID_CRTYDFRONTCHECKBOX, wxEmptyString, wxDefaultPosition, wxSize( -1,-1 ), 0 );
132  m_CrtYdFrontCheckBox->SetToolTip( _("If you want a courtyard layer for the front side of the board") );
133 
134  bSizer611->Add( m_CrtYdFrontCheckBox, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
135 
136 
137  bSizer611->Add( 0, 0, 0, wxRIGHT|wxALIGN_CENTER_VERTICAL, 15 );
138 
139 
140  m_CrtYdFrontPanel->SetSizer( bSizer611 );
141  m_CrtYdFrontPanel->Layout();
142  bSizer611->Fit( m_CrtYdFrontPanel );
143  m_LayerListFlexGridSizer->Add( m_CrtYdFrontPanel, 1, wxEXPAND, 5 );
144 
145  m_CrtYdFrontStaticText = new wxStaticText( m_LayersListPanel, ID_CRTYDFRONTCHOICE, _("Off-board, testing"), wxDefaultPosition, wxDefaultSize, 0 );
146  m_CrtYdFrontStaticText->Wrap( -1 );
147  m_LayerListFlexGridSizer->Add( m_CrtYdFrontStaticText, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
148 
149  m_FabFrontName = new wxStaticText( m_LayersListPanel, ID_FABFRONTNAME, _("Fab_Front_later"), wxDefaultPosition, wxDefaultSize, 0 );
150  m_FabFrontName->Wrap( -1 );
151  m_LayerListFlexGridSizer->Add( m_FabFrontName, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
152 
153  m_FabFrontPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
154  m_FabFrontPanel->SetBackgroundColour( wxColour( 236, 233, 236 ) );
155 
156  wxBoxSizer* bSizer61;
157  bSizer61 = new wxBoxSizer( wxVERTICAL );
158 
159  m_FabFrontCheckBox = new wxCheckBox( m_FabFrontPanel, ID_FABFRONTCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
160  m_FabFrontCheckBox->SetToolTip( _("If you want a fabrication layer for the front side of the board") );
161 
162  bSizer61->Add( m_FabFrontCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
163 
164 
165  m_FabFrontPanel->SetSizer( bSizer61 );
166  m_FabFrontPanel->Layout();
167  bSizer61->Fit( m_FabFrontPanel );
168  m_LayerListFlexGridSizer->Add( m_FabFrontPanel, 1, wxEXPAND, 5 );
169 
170  m_FabFrontStaticText = new wxStaticText( m_LayersListPanel, ID_FABFRONTCHOICE, _("Off-board, manufacturing"), wxDefaultPosition, wxDefaultSize, 0 );
171  m_FabFrontStaticText->Wrap( -1 );
172  m_LayerListFlexGridSizer->Add( m_FabFrontStaticText, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
173 
174  m_AdhesFrontName = new wxStaticText( m_LayersListPanel, ID_ADHESFRONTNAME, _("Adhes_Front_later"), wxDefaultPosition, wxDefaultSize, 0 );
175  m_AdhesFrontName->Wrap( -1 );
176  m_LayerListFlexGridSizer->Add( m_AdhesFrontName, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
177 
178  m_AdhesFrontPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
179  m_AdhesFrontPanel->SetBackgroundColour( wxColour( 236, 233, 236 ) );
180 
181  wxBoxSizer* bSizer6;
182  bSizer6 = new wxBoxSizer( wxVERTICAL );
183 
184  m_AdhesFrontCheckBox = new wxCheckBox( m_AdhesFrontPanel, ID_ADHESFRONTCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
185  m_AdhesFrontCheckBox->SetToolTip( _("If you want an adhesive template for the front side of the board") );
186 
187  bSizer6->Add( m_AdhesFrontCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
188 
189 
190  m_AdhesFrontPanel->SetSizer( bSizer6 );
191  m_AdhesFrontPanel->Layout();
192  bSizer6->Fit( m_AdhesFrontPanel );
193  m_LayerListFlexGridSizer->Add( m_AdhesFrontPanel, 1, wxEXPAND, 5 );
194 
195  m_AdhesFrontStaticText = new wxStaticText( m_LayersListPanel, ID_ADHESFRONTCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 );
196  m_AdhesFrontStaticText->Wrap( -1 );
197  m_LayerListFlexGridSizer->Add( m_AdhesFrontStaticText, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
198 
199  m_SoldPFrontName = new wxStaticText( m_LayersListPanel, ID_SOLDPFRONTNAME, _("SoldP_Front_later"), wxDefaultPosition, wxDefaultSize, 0 );
200  m_SoldPFrontName->Wrap( -1 );
201  m_LayerListFlexGridSizer->Add( m_SoldPFrontName, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
202 
203  m_SoldPFrontPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
204  m_SoldPFrontPanel->SetBackgroundColour( wxColour( 255, 253, 235 ) );
205 
206  wxBoxSizer* bSizer7;
207  bSizer7 = new wxBoxSizer( wxVERTICAL );
208 
209  m_SoldPFrontCheckBox = new wxCheckBox( m_SoldPFrontPanel, ID_SOLDPFRONTCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
210  m_SoldPFrontCheckBox->SetToolTip( _("If you want a solder paster layer for front side of the board") );
211 
212  bSizer7->Add( m_SoldPFrontCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
213 
214 
215  m_SoldPFrontPanel->SetSizer( bSizer7 );
216  m_SoldPFrontPanel->Layout();
217  bSizer7->Fit( m_SoldPFrontPanel );
218  m_LayerListFlexGridSizer->Add( m_SoldPFrontPanel, 1, wxEXPAND, 5 );
219 
220  m_SoldPFrontStaticText = new wxStaticText( m_LayersListPanel, ID_SOLDPFRONTCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 );
221  m_SoldPFrontStaticText->Wrap( -1 );
222  m_LayerListFlexGridSizer->Add( m_SoldPFrontStaticText, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
223 
224  m_SilkSFrontName = new wxStaticText( m_LayersListPanel, ID_SILKSFRONTNAME, _("SilkS_Front_later"), wxDefaultPosition, wxDefaultSize, 0 );
225  m_SilkSFrontName->Wrap( -1 );
226  m_LayerListFlexGridSizer->Add( m_SilkSFrontName, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
227 
228  m_SilkSFrontPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
229  m_SilkSFrontPanel->SetBackgroundColour( wxColour( 255, 252, 235 ) );
230 
231  wxBoxSizer* bSizer5;
232  bSizer5 = new wxBoxSizer( wxVERTICAL );
233 
234  m_SilkSFrontCheckBox = new wxCheckBox( m_SilkSFrontPanel, ID_SILKSFRONTCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
235  m_SilkSFrontCheckBox->SetToolTip( _("If you want a silk screen layer for the front side of the board") );
236 
237  bSizer5->Add( m_SilkSFrontCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
238 
239 
240  m_SilkSFrontPanel->SetSizer( bSizer5 );
241  m_SilkSFrontPanel->Layout();
242  bSizer5->Fit( m_SilkSFrontPanel );
243  m_LayerListFlexGridSizer->Add( m_SilkSFrontPanel, 1, wxEXPAND, 5 );
244 
245  m_SilkSFrontStaticText = new wxStaticText( m_LayersListPanel, ID_SILKSFRONTCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 );
246  m_SilkSFrontStaticText->Wrap( -1 );
247  m_LayerListFlexGridSizer->Add( m_SilkSFrontStaticText, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
248 
249  m_MaskFrontName = new wxStaticText( m_LayersListPanel, ID_MASKFRONTNAME, _("Mask_Front_later"), wxDefaultPosition, wxDefaultSize, 0 );
250  m_MaskFrontName->Wrap( -1 );
251  m_LayerListFlexGridSizer->Add( m_MaskFrontName, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
252 
253  m_MaskFrontPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
254  m_MaskFrontPanel->SetBackgroundColour( wxColour( 255, 252, 235 ) );
255 
256  wxBoxSizer* bSizer8;
257  bSizer8 = new wxBoxSizer( wxVERTICAL );
258 
259  m_MaskFrontCheckBox = new wxCheckBox( m_MaskFrontPanel, ID_MASKFRONTCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
260  m_MaskFrontCheckBox->SetToolTip( _("If you want a solder mask layer for the front of the board") );
261 
262  bSizer8->Add( m_MaskFrontCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
263 
264 
265  m_MaskFrontPanel->SetSizer( bSizer8 );
266  m_MaskFrontPanel->Layout();
267  bSizer8->Fit( m_MaskFrontPanel );
268  m_LayerListFlexGridSizer->Add( m_MaskFrontPanel, 1, wxEXPAND, 5 );
269 
270  m_MaskFrontStaticText = new wxStaticText( m_LayersListPanel, ID_MASKFRONTCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 );
271  m_MaskFrontStaticText->Wrap( -1 );
272  m_LayerListFlexGridSizer->Add( m_MaskFrontStaticText, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
273 
274  m_FrontName = new wxTextCtrl( m_LayersListPanel, ID_FRONTNAME, _("Front_later"), wxDefaultPosition, wxDefaultSize, 0 );
275  #ifdef __WXGTK__
276  if ( !m_FrontName->HasFlag( wxTE_MULTILINE ) )
277  {
278  m_FrontName->SetMaxLength( 20 );
279  }
280  #else
281  m_FrontName->SetMaxLength( 20 );
282  #endif
283  m_FrontName->SetToolTip( _("Layer name of front (top) copper layer") );
284 
285  m_LayerListFlexGridSizer->Add( m_FrontName, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
286 
287  m_FrontPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
288  m_FrontPanel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
289 
290  wxBoxSizer* bSizer9;
291  bSizer9 = new wxBoxSizer( wxVERTICAL );
292 
293  m_FrontCheckBox = new wxCheckBox( m_FrontPanel, ID_FRONTCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
294  m_FrontCheckBox->Enable( false );
295  m_FrontCheckBox->SetToolTip( _("If you want a front copper layer") );
296 
297  bSizer9->Add( m_FrontCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
298 
299 
300  m_FrontPanel->SetSizer( bSizer9 );
301  m_FrontPanel->Layout();
302  bSizer9->Fit( m_FrontPanel );
303  m_LayerListFlexGridSizer->Add( m_FrontPanel, 1, wxEXPAND, 5 );
304 
305  wxString m_FrontChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
306  int m_FrontChoiceNChoices = sizeof( m_FrontChoiceChoices ) / sizeof( wxString );
307  m_FrontChoice = new wxChoice( m_LayersListPanel, ID_FRONTCHOICE, wxDefaultPosition, wxDefaultSize, m_FrontChoiceNChoices, m_FrontChoiceChoices, 0 );
308  m_FrontChoice->SetSelection( 0 );
309  m_FrontChoice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
310 
311  m_LayerListFlexGridSizer->Add( m_FrontChoice, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 5 );
312 
313  m_In1Name = new wxTextCtrl( m_LayersListPanel, ID_IN1NAME, _("In1"), wxDefaultPosition, wxDefaultSize, 0 );
314  #ifdef __WXGTK__
315  if ( !m_In1Name->HasFlag( wxTE_MULTILINE ) )
316  {
317  m_In1Name->SetMaxLength( 20 );
318  }
319  #else
320  m_In1Name->SetMaxLength( 20 );
321  #endif
322  m_LayerListFlexGridSizer->Add( m_In1Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
323 
324  m_In1Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
325  m_In1Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
326 
327  wxBoxSizer* bIn1Sizer;
328  bIn1Sizer = new wxBoxSizer( wxVERTICAL );
329 
330  m_In1CheckBox = new wxCheckBox( m_In1Panel, ID_IN1CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
331  m_In1CheckBox->Enable( false );
332 
333  bIn1Sizer->Add( m_In1CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
334 
335 
336  m_In1Panel->SetSizer( bIn1Sizer );
337  m_In1Panel->Layout();
338  bIn1Sizer->Fit( m_In1Panel );
339  m_LayerListFlexGridSizer->Add( m_In1Panel, 1, wxEXPAND, 5 );
340 
341  wxString m_In1ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
342  int m_In1ChoiceNChoices = sizeof( m_In1ChoiceChoices ) / sizeof( wxString );
343  m_In1Choice = new wxChoice( m_LayersListPanel, ID_IN1CHOICE, wxDefaultPosition, wxDefaultSize, m_In1ChoiceNChoices, m_In1ChoiceChoices, 0 );
344  m_In1Choice->SetSelection( 0 );
345  m_In1Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
346 
347  m_LayerListFlexGridSizer->Add( m_In1Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
348 
349  m_In2Name = new wxTextCtrl( m_LayersListPanel, ID_IN2NAME, _("In2"), wxDefaultPosition, wxDefaultSize, 0 );
350  #ifdef __WXGTK__
351  if ( !m_In2Name->HasFlag( wxTE_MULTILINE ) )
352  {
353  m_In2Name->SetMaxLength( 20 );
354  }
355  #else
356  m_In2Name->SetMaxLength( 20 );
357  #endif
358  m_LayerListFlexGridSizer->Add( m_In2Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
359 
360  m_In2Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
361  m_In2Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
362 
363  wxBoxSizer* bIn2Sizer;
364  bIn2Sizer = new wxBoxSizer( wxVERTICAL );
365 
366  m_In2CheckBox = new wxCheckBox( m_In2Panel, ID_IN2CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
367  m_In2CheckBox->Enable( false );
368 
369  bIn2Sizer->Add( m_In2CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
370 
371 
372  m_In2Panel->SetSizer( bIn2Sizer );
373  m_In2Panel->Layout();
374  bIn2Sizer->Fit( m_In2Panel );
375  m_LayerListFlexGridSizer->Add( m_In2Panel, 1, wxEXPAND, 5 );
376 
377  wxString m_In2ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
378  int m_In2ChoiceNChoices = sizeof( m_In2ChoiceChoices ) / sizeof( wxString );
379  m_In2Choice = new wxChoice( m_LayersListPanel, ID_IN2CHOICE, wxDefaultPosition, wxDefaultSize, m_In2ChoiceNChoices, m_In2ChoiceChoices, 0 );
380  m_In2Choice->SetSelection( 0 );
381  m_In2Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
382 
383  m_LayerListFlexGridSizer->Add( m_In2Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
384 
385  m_In3Name = new wxTextCtrl( m_LayersListPanel, ID_IN3NAME, _("In3"), wxDefaultPosition, wxDefaultSize, 0 );
386  #ifdef __WXGTK__
387  if ( !m_In3Name->HasFlag( wxTE_MULTILINE ) )
388  {
389  m_In3Name->SetMaxLength( 20 );
390  }
391  #else
392  m_In3Name->SetMaxLength( 20 );
393  #endif
394  m_LayerListFlexGridSizer->Add( m_In3Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
395 
396  m_In3Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
397  m_In3Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
398 
399  wxBoxSizer* bIn3Sizer;
400  bIn3Sizer = new wxBoxSizer( wxVERTICAL );
401 
402  m_In3CheckBox = new wxCheckBox( m_In3Panel, ID_IN3CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
403  m_In3CheckBox->Enable( false );
404 
405  bIn3Sizer->Add( m_In3CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
406 
407 
408  m_In3Panel->SetSizer( bIn3Sizer );
409  m_In3Panel->Layout();
410  bIn3Sizer->Fit( m_In3Panel );
411  m_LayerListFlexGridSizer->Add( m_In3Panel, 1, wxEXPAND, 5 );
412 
413  wxString m_In3ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
414  int m_In3ChoiceNChoices = sizeof( m_In3ChoiceChoices ) / sizeof( wxString );
415  m_In3Choice = new wxChoice( m_LayersListPanel, ID_IN3CHOICE, wxDefaultPosition, wxDefaultSize, m_In3ChoiceNChoices, m_In3ChoiceChoices, 0 );
416  m_In3Choice->SetSelection( 0 );
417  m_In3Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
418 
419  m_LayerListFlexGridSizer->Add( m_In3Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
420 
421  m_In4Name = new wxTextCtrl( m_LayersListPanel, ID_IN4NAME, _("In4"), wxDefaultPosition, wxDefaultSize, 0 );
422  #ifdef __WXGTK__
423  if ( !m_In4Name->HasFlag( wxTE_MULTILINE ) )
424  {
425  m_In4Name->SetMaxLength( 20 );
426  }
427  #else
428  m_In4Name->SetMaxLength( 20 );
429  #endif
430  m_LayerListFlexGridSizer->Add( m_In4Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
431 
432  m_In4Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
433  m_In4Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
434 
435  wxBoxSizer* bIn4Sizer;
436  bIn4Sizer = new wxBoxSizer( wxVERTICAL );
437 
438  m_In4CheckBox = new wxCheckBox( m_In4Panel, ID_IN4CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
439  m_In4CheckBox->Enable( false );
440 
441  bIn4Sizer->Add( m_In4CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
442 
443 
444  m_In4Panel->SetSizer( bIn4Sizer );
445  m_In4Panel->Layout();
446  bIn4Sizer->Fit( m_In4Panel );
447  m_LayerListFlexGridSizer->Add( m_In4Panel, 1, wxEXPAND, 5 );
448 
449  wxString m_In4ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
450  int m_In4ChoiceNChoices = sizeof( m_In4ChoiceChoices ) / sizeof( wxString );
451  m_In4Choice = new wxChoice( m_LayersListPanel, ID_IN4CHOICE, wxDefaultPosition, wxDefaultSize, m_In4ChoiceNChoices, m_In4ChoiceChoices, 0 );
452  m_In4Choice->SetSelection( 0 );
453  m_In4Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
454 
455  m_LayerListFlexGridSizer->Add( m_In4Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
456 
457  m_In5Name = new wxTextCtrl( m_LayersListPanel, ID_IN5NAME, _("In5"), wxDefaultPosition, wxDefaultSize, 0 );
458  #ifdef __WXGTK__
459  if ( !m_In5Name->HasFlag( wxTE_MULTILINE ) )
460  {
461  m_In5Name->SetMaxLength( 20 );
462  }
463  #else
464  m_In5Name->SetMaxLength( 20 );
465  #endif
466  m_LayerListFlexGridSizer->Add( m_In5Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
467 
468  m_In5Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
469  m_In5Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
470 
471  wxBoxSizer* bIn5Sizer;
472  bIn5Sizer = new wxBoxSizer( wxVERTICAL );
473 
474  m_In5CheckBox = new wxCheckBox( m_In5Panel, ID_IN5CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
475  m_In5CheckBox->Enable( false );
476 
477  bIn5Sizer->Add( m_In5CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
478 
479 
480  m_In5Panel->SetSizer( bIn5Sizer );
481  m_In5Panel->Layout();
482  bIn5Sizer->Fit( m_In5Panel );
483  m_LayerListFlexGridSizer->Add( m_In5Panel, 1, wxEXPAND, 5 );
484 
485  wxString m_In5ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
486  int m_In5ChoiceNChoices = sizeof( m_In5ChoiceChoices ) / sizeof( wxString );
487  m_In5Choice = new wxChoice( m_LayersListPanel, ID_IN5CHOICE, wxDefaultPosition, wxDefaultSize, m_In5ChoiceNChoices, m_In5ChoiceChoices, 0 );
488  m_In5Choice->SetSelection( 0 );
489  m_In5Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
490 
491  m_LayerListFlexGridSizer->Add( m_In5Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
492 
493  m_In6Name = new wxTextCtrl( m_LayersListPanel, ID_IN6NAME, _("In6"), wxDefaultPosition, wxDefaultSize, 0 );
494  #ifdef __WXGTK__
495  if ( !m_In6Name->HasFlag( wxTE_MULTILINE ) )
496  {
497  m_In6Name->SetMaxLength( 20 );
498  }
499  #else
500  m_In6Name->SetMaxLength( 20 );
501  #endif
502  m_LayerListFlexGridSizer->Add( m_In6Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
503 
504  m_In6Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
505  m_In6Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
506 
507  wxBoxSizer* bIn6Sizer;
508  bIn6Sizer = new wxBoxSizer( wxVERTICAL );
509 
510  m_In6CheckBox = new wxCheckBox( m_In6Panel, ID_IN6CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
511  m_In6CheckBox->Enable( false );
512 
513  bIn6Sizer->Add( m_In6CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
514 
515 
516  m_In6Panel->SetSizer( bIn6Sizer );
517  m_In6Panel->Layout();
518  bIn6Sizer->Fit( m_In6Panel );
519  m_LayerListFlexGridSizer->Add( m_In6Panel, 1, wxEXPAND, 5 );
520 
521  wxString m_In6ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
522  int m_In6ChoiceNChoices = sizeof( m_In6ChoiceChoices ) / sizeof( wxString );
523  m_In6Choice = new wxChoice( m_LayersListPanel, ID_IN6CHOICE, wxDefaultPosition, wxDefaultSize, m_In6ChoiceNChoices, m_In6ChoiceChoices, 0 );
524  m_In6Choice->SetSelection( 0 );
525  m_In6Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
526 
527  m_LayerListFlexGridSizer->Add( m_In6Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
528 
529  m_In7Name = new wxTextCtrl( m_LayersListPanel, ID_IN7NAME, _("In7"), wxDefaultPosition, wxDefaultSize, 0 );
530  #ifdef __WXGTK__
531  if ( !m_In7Name->HasFlag( wxTE_MULTILINE ) )
532  {
533  m_In7Name->SetMaxLength( 20 );
534  }
535  #else
536  m_In7Name->SetMaxLength( 20 );
537  #endif
538  m_LayerListFlexGridSizer->Add( m_In7Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
539 
540  m_In7Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
541  m_In7Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
542 
543  wxBoxSizer* bIn7Sizer;
544  bIn7Sizer = new wxBoxSizer( wxVERTICAL );
545 
546  m_In7CheckBox = new wxCheckBox( m_In7Panel, ID_IN7CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
547  m_In7CheckBox->Enable( false );
548 
549  bIn7Sizer->Add( m_In7CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
550 
551 
552  m_In7Panel->SetSizer( bIn7Sizer );
553  m_In7Panel->Layout();
554  bIn7Sizer->Fit( m_In7Panel );
555  m_LayerListFlexGridSizer->Add( m_In7Panel, 1, wxEXPAND, 5 );
556 
557  wxString m_In7ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
558  int m_In7ChoiceNChoices = sizeof( m_In7ChoiceChoices ) / sizeof( wxString );
559  m_In7Choice = new wxChoice( m_LayersListPanel, ID_IN7CHOICE, wxDefaultPosition, wxDefaultSize, m_In7ChoiceNChoices, m_In7ChoiceChoices, 0 );
560  m_In7Choice->SetSelection( 0 );
561  m_In7Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
562 
563  m_LayerListFlexGridSizer->Add( m_In7Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
564 
565  m_In8Name = new wxTextCtrl( m_LayersListPanel, ID_IN8NAME, _("In8"), wxDefaultPosition, wxDefaultSize, 0 );
566  #ifdef __WXGTK__
567  if ( !m_In8Name->HasFlag( wxTE_MULTILINE ) )
568  {
569  m_In8Name->SetMaxLength( 20 );
570  }
571  #else
572  m_In8Name->SetMaxLength( 20 );
573  #endif
574  m_LayerListFlexGridSizer->Add( m_In8Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
575 
576  m_In8Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
577  m_In8Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
578 
579  wxBoxSizer* bIn8Sizer;
580  bIn8Sizer = new wxBoxSizer( wxVERTICAL );
581 
582  m_In8CheckBox = new wxCheckBox( m_In8Panel, ID_IN8CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
583  m_In8CheckBox->Enable( false );
584 
585  bIn8Sizer->Add( m_In8CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
586 
587 
588  m_In8Panel->SetSizer( bIn8Sizer );
589  m_In8Panel->Layout();
590  bIn8Sizer->Fit( m_In8Panel );
591  m_LayerListFlexGridSizer->Add( m_In8Panel, 1, wxEXPAND, 5 );
592 
593  wxString m_In8ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
594  int m_In8ChoiceNChoices = sizeof( m_In8ChoiceChoices ) / sizeof( wxString );
595  m_In8Choice = new wxChoice( m_LayersListPanel, ID_IN8CHOICE, wxDefaultPosition, wxDefaultSize, m_In8ChoiceNChoices, m_In8ChoiceChoices, 0 );
596  m_In8Choice->SetSelection( 0 );
597  m_In8Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
598 
599  m_LayerListFlexGridSizer->Add( m_In8Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
600 
601  m_In9Name = new wxTextCtrl( m_LayersListPanel, ID_IN9NAME, _("In9"), wxDefaultPosition, wxDefaultSize, 0 );
602  #ifdef __WXGTK__
603  if ( !m_In9Name->HasFlag( wxTE_MULTILINE ) )
604  {
605  m_In9Name->SetMaxLength( 20 );
606  }
607  #else
608  m_In9Name->SetMaxLength( 20 );
609  #endif
610  m_LayerListFlexGridSizer->Add( m_In9Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
611 
612  m_In9Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
613  m_In9Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
614 
615  wxBoxSizer* bIn9Sizer;
616  bIn9Sizer = new wxBoxSizer( wxVERTICAL );
617 
618  m_In9CheckBox = new wxCheckBox( m_In9Panel, ID_IN9CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
619  m_In9CheckBox->Enable( false );
620 
621  bIn9Sizer->Add( m_In9CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
622 
623 
624  m_In9Panel->SetSizer( bIn9Sizer );
625  m_In9Panel->Layout();
626  bIn9Sizer->Fit( m_In9Panel );
627  m_LayerListFlexGridSizer->Add( m_In9Panel, 1, wxEXPAND, 5 );
628 
629  wxString m_In9ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
630  int m_In9ChoiceNChoices = sizeof( m_In9ChoiceChoices ) / sizeof( wxString );
631  m_In9Choice = new wxChoice( m_LayersListPanel, ID_IN9CHOICE, wxDefaultPosition, wxDefaultSize, m_In9ChoiceNChoices, m_In9ChoiceChoices, 0 );
632  m_In9Choice->SetSelection( 0 );
633  m_In9Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
634 
635  m_LayerListFlexGridSizer->Add( m_In9Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
636 
637  m_In10Name = new wxTextCtrl( m_LayersListPanel, ID_IN10NAME, _("In10"), wxDefaultPosition, wxDefaultSize, 0 );
638  #ifdef __WXGTK__
639  if ( !m_In10Name->HasFlag( wxTE_MULTILINE ) )
640  {
641  m_In10Name->SetMaxLength( 20 );
642  }
643  #else
644  m_In10Name->SetMaxLength( 20 );
645  #endif
646  m_LayerListFlexGridSizer->Add( m_In10Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
647 
648  m_In10Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
649  m_In10Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
650 
651  wxBoxSizer* bIn10Sizer;
652  bIn10Sizer = new wxBoxSizer( wxVERTICAL );
653 
654  m_In10CheckBox = new wxCheckBox( m_In10Panel, ID_IN10CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
655  m_In10CheckBox->Enable( false );
656 
657  bIn10Sizer->Add( m_In10CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
658 
659 
660  m_In10Panel->SetSizer( bIn10Sizer );
661  m_In10Panel->Layout();
662  bIn10Sizer->Fit( m_In10Panel );
663  m_LayerListFlexGridSizer->Add( m_In10Panel, 1, wxEXPAND, 5 );
664 
665  wxString m_In10ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
666  int m_In10ChoiceNChoices = sizeof( m_In10ChoiceChoices ) / sizeof( wxString );
667  m_In10Choice = new wxChoice( m_LayersListPanel, ID_IN10CHOICE, wxDefaultPosition, wxDefaultSize, m_In10ChoiceNChoices, m_In10ChoiceChoices, 0 );
668  m_In10Choice->SetSelection( 0 );
669  m_In10Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
670 
671  m_LayerListFlexGridSizer->Add( m_In10Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
672 
673  m_In11Name = new wxTextCtrl( m_LayersListPanel, ID_IN11NAME, _("In11"), wxDefaultPosition, wxDefaultSize, 0 );
674  #ifdef __WXGTK__
675  if ( !m_In11Name->HasFlag( wxTE_MULTILINE ) )
676  {
677  m_In11Name->SetMaxLength( 20 );
678  }
679  #else
680  m_In11Name->SetMaxLength( 20 );
681  #endif
682  m_LayerListFlexGridSizer->Add( m_In11Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
683 
684  m_In11Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
685  m_In11Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
686 
687  wxBoxSizer* bIn11Sizer;
688  bIn11Sizer = new wxBoxSizer( wxVERTICAL );
689 
690  m_In11CheckBox = new wxCheckBox( m_In11Panel, ID_IN11CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
691  m_In11CheckBox->Enable( false );
692 
693  bIn11Sizer->Add( m_In11CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
694 
695 
696  m_In11Panel->SetSizer( bIn11Sizer );
697  m_In11Panel->Layout();
698  bIn11Sizer->Fit( m_In11Panel );
699  m_LayerListFlexGridSizer->Add( m_In11Panel, 1, wxEXPAND, 5 );
700 
701  wxString m_In11ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
702  int m_In11ChoiceNChoices = sizeof( m_In11ChoiceChoices ) / sizeof( wxString );
703  m_In11Choice = new wxChoice( m_LayersListPanel, ID_IN11CHOICE, wxDefaultPosition, wxDefaultSize, m_In11ChoiceNChoices, m_In11ChoiceChoices, 0 );
704  m_In11Choice->SetSelection( 0 );
705  m_In11Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
706 
707  m_LayerListFlexGridSizer->Add( m_In11Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
708 
709  m_In12Name = new wxTextCtrl( m_LayersListPanel, ID_IN12NAME, _("In12"), wxDefaultPosition, wxDefaultSize, 0 );
710  #ifdef __WXGTK__
711  if ( !m_In12Name->HasFlag( wxTE_MULTILINE ) )
712  {
713  m_In12Name->SetMaxLength( 20 );
714  }
715  #else
716  m_In12Name->SetMaxLength( 20 );
717  #endif
718  m_LayerListFlexGridSizer->Add( m_In12Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
719 
720  m_In12Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
721  m_In12Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
722 
723  wxBoxSizer* bIn12Sizer;
724  bIn12Sizer = new wxBoxSizer( wxVERTICAL );
725 
726  m_In12CheckBox = new wxCheckBox( m_In12Panel, ID_IN12CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
727  m_In12CheckBox->Enable( false );
728 
729  bIn12Sizer->Add( m_In12CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
730 
731 
732  m_In12Panel->SetSizer( bIn12Sizer );
733  m_In12Panel->Layout();
734  bIn12Sizer->Fit( m_In12Panel );
735  m_LayerListFlexGridSizer->Add( m_In12Panel, 1, wxEXPAND, 5 );
736 
737  wxString m_In12ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
738  int m_In12ChoiceNChoices = sizeof( m_In12ChoiceChoices ) / sizeof( wxString );
739  m_In12Choice = new wxChoice( m_LayersListPanel, ID_IN12CHOICE, wxDefaultPosition, wxDefaultSize, m_In12ChoiceNChoices, m_In12ChoiceChoices, 0 );
740  m_In12Choice->SetSelection( 0 );
741  m_In12Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
742 
743  m_LayerListFlexGridSizer->Add( m_In12Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
744 
745  m_In13Name = new wxTextCtrl( m_LayersListPanel, ID_IN13NAME, _("In13"), wxDefaultPosition, wxDefaultSize, 0 );
746  #ifdef __WXGTK__
747  if ( !m_In13Name->HasFlag( wxTE_MULTILINE ) )
748  {
749  m_In13Name->SetMaxLength( 20 );
750  }
751  #else
752  m_In13Name->SetMaxLength( 20 );
753  #endif
754  m_LayerListFlexGridSizer->Add( m_In13Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
755 
756  m_In13Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
757  m_In13Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
758 
759  wxBoxSizer* bIn13Sizer;
760  bIn13Sizer = new wxBoxSizer( wxVERTICAL );
761 
762  m_In13CheckBox = new wxCheckBox( m_In13Panel, ID_IN13CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
763  m_In13CheckBox->Enable( false );
764 
765  bIn13Sizer->Add( m_In13CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
766 
767 
768  m_In13Panel->SetSizer( bIn13Sizer );
769  m_In13Panel->Layout();
770  bIn13Sizer->Fit( m_In13Panel );
771  m_LayerListFlexGridSizer->Add( m_In13Panel, 1, wxEXPAND, 5 );
772 
773  wxString m_In13ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
774  int m_In13ChoiceNChoices = sizeof( m_In13ChoiceChoices ) / sizeof( wxString );
775  m_In13Choice = new wxChoice( m_LayersListPanel, ID_IN13CHOICE, wxDefaultPosition, wxDefaultSize, m_In13ChoiceNChoices, m_In13ChoiceChoices, 0 );
776  m_In13Choice->SetSelection( 0 );
777  m_In13Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
778 
779  m_LayerListFlexGridSizer->Add( m_In13Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
780 
781  m_In14Name = new wxTextCtrl( m_LayersListPanel, ID_IN14NAME, _("In14"), wxDefaultPosition, wxDefaultSize, 0 );
782  #ifdef __WXGTK__
783  if ( !m_In14Name->HasFlag( wxTE_MULTILINE ) )
784  {
785  m_In14Name->SetMaxLength( 20 );
786  }
787  #else
788  m_In14Name->SetMaxLength( 20 );
789  #endif
790  m_LayerListFlexGridSizer->Add( m_In14Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
791 
792  m_In14Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
793  m_In14Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
794 
795  wxBoxSizer* bIn14Sizer;
796  bIn14Sizer = new wxBoxSizer( wxVERTICAL );
797 
798  m_In14CheckBox = new wxCheckBox( m_In14Panel, ID_IN14CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
799  m_In14CheckBox->Enable( false );
800 
801  bIn14Sizer->Add( m_In14CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
802 
803 
804  m_In14Panel->SetSizer( bIn14Sizer );
805  m_In14Panel->Layout();
806  bIn14Sizer->Fit( m_In14Panel );
807  m_LayerListFlexGridSizer->Add( m_In14Panel, 1, wxEXPAND, 5 );
808 
809  wxString m_In14ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
810  int m_In14ChoiceNChoices = sizeof( m_In14ChoiceChoices ) / sizeof( wxString );
811  m_In14Choice = new wxChoice( m_LayersListPanel, ID_IN14CHOICE, wxDefaultPosition, wxDefaultSize, m_In14ChoiceNChoices, m_In14ChoiceChoices, 0 );
812  m_In14Choice->SetSelection( 0 );
813  m_In14Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
814 
815  m_LayerListFlexGridSizer->Add( m_In14Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
816 
817  m_In15Name = new wxTextCtrl( m_LayersListPanel, ID_IN15NAME, _("In15"), wxDefaultPosition, wxDefaultSize, 0 );
818  #ifdef __WXGTK__
819  if ( !m_In15Name->HasFlag( wxTE_MULTILINE ) )
820  {
821  m_In15Name->SetMaxLength( 20 );
822  }
823  #else
824  m_In15Name->SetMaxLength( 20 );
825  #endif
826  m_LayerListFlexGridSizer->Add( m_In15Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
827 
828  m_In15Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
829  m_In15Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
830 
831  wxBoxSizer* bIn15Sizer;
832  bIn15Sizer = new wxBoxSizer( wxVERTICAL );
833 
834  m_In15CheckBox = new wxCheckBox( m_In15Panel, ID_IN15CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
835  m_In15CheckBox->Enable( false );
836 
837  bIn15Sizer->Add( m_In15CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
838 
839 
840  m_In15Panel->SetSizer( bIn15Sizer );
841  m_In15Panel->Layout();
842  bIn15Sizer->Fit( m_In15Panel );
843  m_LayerListFlexGridSizer->Add( m_In15Panel, 1, wxEXPAND, 5 );
844 
845  wxString m_In15ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
846  int m_In15ChoiceNChoices = sizeof( m_In15ChoiceChoices ) / sizeof( wxString );
847  m_In15Choice = new wxChoice( m_LayersListPanel, ID_IN15CHOICE, wxDefaultPosition, wxDefaultSize, m_In15ChoiceNChoices, m_In15ChoiceChoices, 0 );
848  m_In15Choice->SetSelection( 0 );
849  m_In15Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
850 
851  m_LayerListFlexGridSizer->Add( m_In15Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
852 
853  m_In16Name = new wxTextCtrl( m_LayersListPanel, ID_IN16NAME, _("In16"), wxDefaultPosition, wxDefaultSize, 0 );
854  #ifdef __WXGTK__
855  if ( !m_In16Name->HasFlag( wxTE_MULTILINE ) )
856  {
857  m_In16Name->SetMaxLength( 20 );
858  }
859  #else
860  m_In16Name->SetMaxLength( 20 );
861  #endif
862  m_LayerListFlexGridSizer->Add( m_In16Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
863 
864  m_In16Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
865  m_In16Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
866 
867  wxBoxSizer* bIn16Sizer;
868  bIn16Sizer = new wxBoxSizer( wxVERTICAL );
869 
870  m_In16CheckBox = new wxCheckBox( m_In16Panel, ID_IN16CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
871  m_In16CheckBox->Enable( false );
872 
873  bIn16Sizer->Add( m_In16CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
874 
875 
876  m_In16Panel->SetSizer( bIn16Sizer );
877  m_In16Panel->Layout();
878  bIn16Sizer->Fit( m_In16Panel );
879  m_LayerListFlexGridSizer->Add( m_In16Panel, 1, wxEXPAND, 5 );
880 
881  wxString m_In16ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
882  int m_In16ChoiceNChoices = sizeof( m_In16ChoiceChoices ) / sizeof( wxString );
883  m_In16Choice = new wxChoice( m_LayersListPanel, ID_IN16CHOICE, wxDefaultPosition, wxDefaultSize, m_In16ChoiceNChoices, m_In16ChoiceChoices, 0 );
884  m_In16Choice->SetSelection( 0 );
885  m_In16Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
886 
887  m_LayerListFlexGridSizer->Add( m_In16Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
888 
889  m_In17Name = new wxTextCtrl( m_LayersListPanel, ID_IN17NAME, _("In17"), wxDefaultPosition, wxDefaultSize, 0 );
890  #ifdef __WXGTK__
891  if ( !m_In17Name->HasFlag( wxTE_MULTILINE ) )
892  {
893  m_In17Name->SetMaxLength( 20 );
894  }
895  #else
896  m_In17Name->SetMaxLength( 20 );
897  #endif
898  m_LayerListFlexGridSizer->Add( m_In17Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
899 
900  m_In17Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
901  m_In17Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
902 
903  wxBoxSizer* bIn17Sizer;
904  bIn17Sizer = new wxBoxSizer( wxVERTICAL );
905 
906  m_In17CheckBox = new wxCheckBox( m_In17Panel, ID_IN17CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
907  m_In17CheckBox->Enable( false );
908 
909  bIn17Sizer->Add( m_In17CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
910 
911 
912  m_In17Panel->SetSizer( bIn17Sizer );
913  m_In17Panel->Layout();
914  bIn17Sizer->Fit( m_In17Panel );
915  m_LayerListFlexGridSizer->Add( m_In17Panel, 1, wxEXPAND, 5 );
916 
917  wxString m_In17ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
918  int m_In17ChoiceNChoices = sizeof( m_In17ChoiceChoices ) / sizeof( wxString );
919  m_In17Choice = new wxChoice( m_LayersListPanel, ID_IN17CHOICE, wxDefaultPosition, wxDefaultSize, m_In17ChoiceNChoices, m_In17ChoiceChoices, 0 );
920  m_In17Choice->SetSelection( 0 );
921  m_In17Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
922 
923  m_LayerListFlexGridSizer->Add( m_In17Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
924 
925  m_In18Name = new wxTextCtrl( m_LayersListPanel, ID_IN18NAME, _("In18"), wxDefaultPosition, wxDefaultSize, 0 );
926  #ifdef __WXGTK__
927  if ( !m_In18Name->HasFlag( wxTE_MULTILINE ) )
928  {
929  m_In18Name->SetMaxLength( 20 );
930  }
931  #else
932  m_In18Name->SetMaxLength( 20 );
933  #endif
934  m_LayerListFlexGridSizer->Add( m_In18Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
935 
936  m_In18Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
937  m_In18Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
938 
939  wxBoxSizer* bIn18Sizer;
940  bIn18Sizer = new wxBoxSizer( wxVERTICAL );
941 
942  m_In18CheckBox = new wxCheckBox( m_In18Panel, ID_IN18CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
943  m_In18CheckBox->Enable( false );
944 
945  bIn18Sizer->Add( m_In18CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
946 
947 
948  m_In18Panel->SetSizer( bIn18Sizer );
949  m_In18Panel->Layout();
950  bIn18Sizer->Fit( m_In18Panel );
951  m_LayerListFlexGridSizer->Add( m_In18Panel, 1, wxEXPAND, 5 );
952 
953  wxString m_In18ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
954  int m_In18ChoiceNChoices = sizeof( m_In18ChoiceChoices ) / sizeof( wxString );
955  m_In18Choice = new wxChoice( m_LayersListPanel, ID_IN18CHOICE, wxDefaultPosition, wxDefaultSize, m_In18ChoiceNChoices, m_In18ChoiceChoices, 0 );
956  m_In18Choice->SetSelection( 0 );
957  m_In18Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
958 
959  m_LayerListFlexGridSizer->Add( m_In18Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
960 
961  m_In19Name = new wxTextCtrl( m_LayersListPanel, ID_IN19NAME, _("In19"), wxDefaultPosition, wxDefaultSize, 0 );
962  #ifdef __WXGTK__
963  if ( !m_In19Name->HasFlag( wxTE_MULTILINE ) )
964  {
965  m_In19Name->SetMaxLength( 20 );
966  }
967  #else
968  m_In19Name->SetMaxLength( 20 );
969  #endif
970  m_LayerListFlexGridSizer->Add( m_In19Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
971 
972  m_In19Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
973  m_In19Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
974 
975  wxBoxSizer* bIn19Sizer;
976  bIn19Sizer = new wxBoxSizer( wxVERTICAL );
977 
978  m_In19CheckBox = new wxCheckBox( m_In19Panel, ID_IN19CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
979  m_In19CheckBox->Enable( false );
980 
981  bIn19Sizer->Add( m_In19CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
982 
983 
984  m_In19Panel->SetSizer( bIn19Sizer );
985  m_In19Panel->Layout();
986  bIn19Sizer->Fit( m_In19Panel );
987  m_LayerListFlexGridSizer->Add( m_In19Panel, 1, wxEXPAND, 5 );
988 
989  wxString m_In19ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
990  int m_In19ChoiceNChoices = sizeof( m_In19ChoiceChoices ) / sizeof( wxString );
991  m_In19Choice = new wxChoice( m_LayersListPanel, ID_IN19CHOICE, wxDefaultPosition, wxDefaultSize, m_In19ChoiceNChoices, m_In19ChoiceChoices, 0 );
992  m_In19Choice->SetSelection( 0 );
993  m_In19Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
994 
995  m_LayerListFlexGridSizer->Add( m_In19Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
996 
997  m_In20Name = new wxTextCtrl( m_LayersListPanel, ID_IN20NAME, _("In20"), wxDefaultPosition, wxDefaultSize, 0 );
998  #ifdef __WXGTK__
999  if ( !m_In20Name->HasFlag( wxTE_MULTILINE ) )
1000  {
1001  m_In20Name->SetMaxLength( 20 );
1002  }
1003  #else
1004  m_In20Name->SetMaxLength( 20 );
1005  #endif
1006  m_LayerListFlexGridSizer->Add( m_In20Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1007 
1008  m_In20Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1009  m_In20Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
1010 
1011  wxBoxSizer* bIn20Sizer;
1012  bIn20Sizer = new wxBoxSizer( wxVERTICAL );
1013 
1014  m_In20CheckBox = new wxCheckBox( m_In20Panel, ID_IN20CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1015  m_In20CheckBox->Enable( false );
1016 
1017  bIn20Sizer->Add( m_In20CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1018 
1019 
1020  m_In20Panel->SetSizer( bIn20Sizer );
1021  m_In20Panel->Layout();
1022  bIn20Sizer->Fit( m_In20Panel );
1023  m_LayerListFlexGridSizer->Add( m_In20Panel, 1, wxEXPAND, 5 );
1024 
1025  wxString m_In20ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
1026  int m_In20ChoiceNChoices = sizeof( m_In20ChoiceChoices ) / sizeof( wxString );
1027  m_In20Choice = new wxChoice( m_LayersListPanel, ID_IN20CHOICE, wxDefaultPosition, wxDefaultSize, m_In20ChoiceNChoices, m_In20ChoiceChoices, 0 );
1028  m_In20Choice->SetSelection( 0 );
1029  m_In20Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
1030 
1031  m_LayerListFlexGridSizer->Add( m_In20Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1032 
1033  m_In21Name = new wxTextCtrl( m_LayersListPanel, ID_IN21NAME, _("In21"), wxDefaultPosition, wxDefaultSize, 0 );
1034  #ifdef __WXGTK__
1035  if ( !m_In21Name->HasFlag( wxTE_MULTILINE ) )
1036  {
1037  m_In21Name->SetMaxLength( 20 );
1038  }
1039  #else
1040  m_In21Name->SetMaxLength( 20 );
1041  #endif
1042  m_LayerListFlexGridSizer->Add( m_In21Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1043 
1044  m_In21Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1045  m_In21Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
1046 
1047  wxBoxSizer* bIn21Sizer;
1048  bIn21Sizer = new wxBoxSizer( wxVERTICAL );
1049 
1050  m_In21CheckBox = new wxCheckBox( m_In21Panel, ID_IN21CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1051  m_In21CheckBox->Enable( false );
1052 
1053  bIn21Sizer->Add( m_In21CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1054 
1055 
1056  m_In21Panel->SetSizer( bIn21Sizer );
1057  m_In21Panel->Layout();
1058  bIn21Sizer->Fit( m_In21Panel );
1059  m_LayerListFlexGridSizer->Add( m_In21Panel, 1, wxEXPAND, 5 );
1060 
1061  wxString m_In21ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
1062  int m_In21ChoiceNChoices = sizeof( m_In21ChoiceChoices ) / sizeof( wxString );
1063  m_In21Choice = new wxChoice( m_LayersListPanel, ID_IN21CHOICE, wxDefaultPosition, wxDefaultSize, m_In21ChoiceNChoices, m_In21ChoiceChoices, 0 );
1064  m_In21Choice->SetSelection( 0 );
1065  m_In21Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
1066 
1067  m_LayerListFlexGridSizer->Add( m_In21Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1068 
1069  m_In22Name = new wxTextCtrl( m_LayersListPanel, ID_IN22NAME, _("In22"), wxDefaultPosition, wxDefaultSize, 0 );
1070  #ifdef __WXGTK__
1071  if ( !m_In22Name->HasFlag( wxTE_MULTILINE ) )
1072  {
1073  m_In22Name->SetMaxLength( 20 );
1074  }
1075  #else
1076  m_In22Name->SetMaxLength( 20 );
1077  #endif
1078  m_LayerListFlexGridSizer->Add( m_In22Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1079 
1080  m_In22Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1081  m_In22Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
1082 
1083  wxBoxSizer* bIn22Sizer;
1084  bIn22Sizer = new wxBoxSizer( wxVERTICAL );
1085 
1086  m_In22CheckBox = new wxCheckBox( m_In22Panel, ID_IN22CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1087  m_In22CheckBox->Enable( false );
1088 
1089  bIn22Sizer->Add( m_In22CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1090 
1091 
1092  m_In22Panel->SetSizer( bIn22Sizer );
1093  m_In22Panel->Layout();
1094  bIn22Sizer->Fit( m_In22Panel );
1095  m_LayerListFlexGridSizer->Add( m_In22Panel, 1, wxEXPAND, 5 );
1096 
1097  wxString m_In22ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
1098  int m_In22ChoiceNChoices = sizeof( m_In22ChoiceChoices ) / sizeof( wxString );
1099  m_In22Choice = new wxChoice( m_LayersListPanel, ID_IN22CHOICE, wxDefaultPosition, wxDefaultSize, m_In22ChoiceNChoices, m_In22ChoiceChoices, 0 );
1100  m_In22Choice->SetSelection( 0 );
1101  m_In22Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
1102 
1103  m_LayerListFlexGridSizer->Add( m_In22Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1104 
1105  m_In23Name = new wxTextCtrl( m_LayersListPanel, ID_IN23NAME, _("In23"), wxDefaultPosition, wxDefaultSize, 0 );
1106  #ifdef __WXGTK__
1107  if ( !m_In23Name->HasFlag( wxTE_MULTILINE ) )
1108  {
1109  m_In23Name->SetMaxLength( 20 );
1110  }
1111  #else
1112  m_In23Name->SetMaxLength( 20 );
1113  #endif
1114  m_LayerListFlexGridSizer->Add( m_In23Name, 0, wxALL|wxEXPAND, 5 );
1115 
1116  m_In23Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1117  m_In23Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
1118 
1119  wxBoxSizer* bIn23Sizer;
1120  bIn23Sizer = new wxBoxSizer( wxVERTICAL );
1121 
1122  m_In23CheckBox = new wxCheckBox( m_In23Panel, ID_IN23CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1123  m_In23CheckBox->Enable( false );
1124 
1125  bIn23Sizer->Add( m_In23CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1126 
1127 
1128  m_In23Panel->SetSizer( bIn23Sizer );
1129  m_In23Panel->Layout();
1130  bIn23Sizer->Fit( m_In23Panel );
1131  m_LayerListFlexGridSizer->Add( m_In23Panel, 1, wxEXPAND, 5 );
1132 
1133  wxString m_In23ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
1134  int m_In23ChoiceNChoices = sizeof( m_In23ChoiceChoices ) / sizeof( wxString );
1135  m_In23Choice = new wxChoice( m_LayersListPanel, ID_IN22CHOICE, wxDefaultPosition, wxDefaultSize, m_In23ChoiceNChoices, m_In23ChoiceChoices, 0 );
1136  m_In23Choice->SetSelection( 0 );
1137  m_In23Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
1138 
1139  m_LayerListFlexGridSizer->Add( m_In23Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1140 
1141  m_In24Name = new wxTextCtrl( m_LayersListPanel, ID_IN24NAME, _("In24"), wxDefaultPosition, wxDefaultSize, 0 );
1142  #ifdef __WXGTK__
1143  if ( !m_In24Name->HasFlag( wxTE_MULTILINE ) )
1144  {
1145  m_In24Name->SetMaxLength( 20 );
1146  }
1147  #else
1148  m_In24Name->SetMaxLength( 20 );
1149  #endif
1150  m_LayerListFlexGridSizer->Add( m_In24Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1151 
1152  m_In24Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1153  m_In24Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
1154 
1155  wxBoxSizer* bIn24Sizer;
1156  bIn24Sizer = new wxBoxSizer( wxVERTICAL );
1157 
1158  m_In24CheckBox = new wxCheckBox( m_In24Panel, ID_IN24CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1159  m_In24CheckBox->Enable( false );
1160 
1161  bIn24Sizer->Add( m_In24CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1162 
1163 
1164  m_In24Panel->SetSizer( bIn24Sizer );
1165  m_In24Panel->Layout();
1166  bIn24Sizer->Fit( m_In24Panel );
1167  m_LayerListFlexGridSizer->Add( m_In24Panel, 1, wxEXPAND, 5 );
1168 
1169  wxString m_In24ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
1170  int m_In24ChoiceNChoices = sizeof( m_In24ChoiceChoices ) / sizeof( wxString );
1171  m_In24Choice = new wxChoice( m_LayersListPanel, ID_IN24CHOICE, wxDefaultPosition, wxDefaultSize, m_In24ChoiceNChoices, m_In24ChoiceChoices, 0 );
1172  m_In24Choice->SetSelection( 0 );
1173  m_In24Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
1174 
1175  m_LayerListFlexGridSizer->Add( m_In24Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1176 
1177  m_In25Name = new wxTextCtrl( m_LayersListPanel, ID_IN25NAME, _("In25"), wxDefaultPosition, wxDefaultSize, 0 );
1178  #ifdef __WXGTK__
1179  if ( !m_In25Name->HasFlag( wxTE_MULTILINE ) )
1180  {
1181  m_In25Name->SetMaxLength( 20 );
1182  }
1183  #else
1184  m_In25Name->SetMaxLength( 20 );
1185  #endif
1186  m_LayerListFlexGridSizer->Add( m_In25Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1187 
1188  m_In25Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1189  m_In25Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
1190 
1191  wxBoxSizer* bIn25Sizer;
1192  bIn25Sizer = new wxBoxSizer( wxVERTICAL );
1193 
1194  m_In25CheckBox = new wxCheckBox( m_In25Panel, ID_IN25CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1195  m_In25CheckBox->Enable( false );
1196 
1197  bIn25Sizer->Add( m_In25CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1198 
1199 
1200  m_In25Panel->SetSizer( bIn25Sizer );
1201  m_In25Panel->Layout();
1202  bIn25Sizer->Fit( m_In25Panel );
1203  m_LayerListFlexGridSizer->Add( m_In25Panel, 1, wxEXPAND, 5 );
1204 
1205  wxString m_In25ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
1206  int m_In25ChoiceNChoices = sizeof( m_In25ChoiceChoices ) / sizeof( wxString );
1207  m_In25Choice = new wxChoice( m_LayersListPanel, ID_IN25CHOICE, wxDefaultPosition, wxDefaultSize, m_In25ChoiceNChoices, m_In25ChoiceChoices, 0 );
1208  m_In25Choice->SetSelection( 0 );
1209  m_In25Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
1210 
1211  m_LayerListFlexGridSizer->Add( m_In25Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1212 
1213  m_In26Name = new wxTextCtrl( m_LayersListPanel, ID_IN26NAME, _("In26"), wxDefaultPosition, wxDefaultSize, 0 );
1214  #ifdef __WXGTK__
1215  if ( !m_In26Name->HasFlag( wxTE_MULTILINE ) )
1216  {
1217  m_In26Name->SetMaxLength( 20 );
1218  }
1219  #else
1220  m_In26Name->SetMaxLength( 20 );
1221  #endif
1222  m_LayerListFlexGridSizer->Add( m_In26Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1223 
1224  m_In26Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1225  m_In26Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
1226 
1227  wxBoxSizer* bIn26Sizer;
1228  bIn26Sizer = new wxBoxSizer( wxVERTICAL );
1229 
1230  m_In26CheckBox = new wxCheckBox( m_In26Panel, ID_IN26CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1231  m_In26CheckBox->Enable( false );
1232 
1233  bIn26Sizer->Add( m_In26CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1234 
1235 
1236  m_In26Panel->SetSizer( bIn26Sizer );
1237  m_In26Panel->Layout();
1238  bIn26Sizer->Fit( m_In26Panel );
1239  m_LayerListFlexGridSizer->Add( m_In26Panel, 1, wxEXPAND, 5 );
1240 
1241  wxString m_In26ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
1242  int m_In26ChoiceNChoices = sizeof( m_In26ChoiceChoices ) / sizeof( wxString );
1243  m_In26Choice = new wxChoice( m_LayersListPanel, ID_IN26CHOICE, wxDefaultPosition, wxDefaultSize, m_In26ChoiceNChoices, m_In26ChoiceChoices, 0 );
1244  m_In26Choice->SetSelection( 0 );
1245  m_In26Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
1246 
1247  m_LayerListFlexGridSizer->Add( m_In26Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1248 
1249  m_In27Name = new wxTextCtrl( m_LayersListPanel, ID_IN27NAME, _("In27"), wxDefaultPosition, wxDefaultSize, 0 );
1250  #ifdef __WXGTK__
1251  if ( !m_In27Name->HasFlag( wxTE_MULTILINE ) )
1252  {
1253  m_In27Name->SetMaxLength( 20 );
1254  }
1255  #else
1256  m_In27Name->SetMaxLength( 20 );
1257  #endif
1258  m_LayerListFlexGridSizer->Add( m_In27Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1259 
1260  m_In27Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1261  m_In27Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
1262 
1263  wxBoxSizer* bIn27Sizer;
1264  bIn27Sizer = new wxBoxSizer( wxVERTICAL );
1265 
1266  m_In27CheckBox = new wxCheckBox( m_In27Panel, ID_IN27CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1267  m_In27CheckBox->Enable( false );
1268 
1269  bIn27Sizer->Add( m_In27CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1270 
1271 
1272  m_In27Panel->SetSizer( bIn27Sizer );
1273  m_In27Panel->Layout();
1274  bIn27Sizer->Fit( m_In27Panel );
1275  m_LayerListFlexGridSizer->Add( m_In27Panel, 1, wxEXPAND, 5 );
1276 
1277  wxString m_In27ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
1278  int m_In27ChoiceNChoices = sizeof( m_In27ChoiceChoices ) / sizeof( wxString );
1279  m_In27Choice = new wxChoice( m_LayersListPanel, ID_IN27CHOICE, wxDefaultPosition, wxDefaultSize, m_In27ChoiceNChoices, m_In27ChoiceChoices, 0 );
1280  m_In27Choice->SetSelection( 0 );
1281  m_In27Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
1282 
1283  m_LayerListFlexGridSizer->Add( m_In27Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1284 
1285  m_In28Name = new wxTextCtrl( m_LayersListPanel, ID_IN28NAME, _("In28"), wxDefaultPosition, wxDefaultSize, 0 );
1286  #ifdef __WXGTK__
1287  if ( !m_In28Name->HasFlag( wxTE_MULTILINE ) )
1288  {
1289  m_In28Name->SetMaxLength( 20 );
1290  }
1291  #else
1292  m_In28Name->SetMaxLength( 20 );
1293  #endif
1294  m_LayerListFlexGridSizer->Add( m_In28Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1295 
1296  m_In28Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1297  m_In28Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
1298 
1299  wxBoxSizer* bIn28Sizer;
1300  bIn28Sizer = new wxBoxSizer( wxVERTICAL );
1301 
1302  m_In28CheckBox = new wxCheckBox( m_In28Panel, ID_IN28CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1303  m_In28CheckBox->Enable( false );
1304 
1305  bIn28Sizer->Add( m_In28CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1306 
1307 
1308  m_In28Panel->SetSizer( bIn28Sizer );
1309  m_In28Panel->Layout();
1310  bIn28Sizer->Fit( m_In28Panel );
1311  m_LayerListFlexGridSizer->Add( m_In28Panel, 1, wxEXPAND, 5 );
1312 
1313  wxString m_In28ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
1314  int m_In28ChoiceNChoices = sizeof( m_In28ChoiceChoices ) / sizeof( wxString );
1315  m_In28Choice = new wxChoice( m_LayersListPanel, ID_IN28CHOICE, wxDefaultPosition, wxDefaultSize, m_In28ChoiceNChoices, m_In28ChoiceChoices, 0 );
1316  m_In28Choice->SetSelection( 0 );
1317  m_In28Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
1318 
1319  m_LayerListFlexGridSizer->Add( m_In28Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1320 
1321  m_In29Name = new wxTextCtrl( m_LayersListPanel, ID_IN29NAME, _("In29"), wxDefaultPosition, wxDefaultSize, 0 );
1322  #ifdef __WXGTK__
1323  if ( !m_In29Name->HasFlag( wxTE_MULTILINE ) )
1324  {
1325  m_In29Name->SetMaxLength( 20 );
1326  }
1327  #else
1328  m_In29Name->SetMaxLength( 20 );
1329  #endif
1330  m_LayerListFlexGridSizer->Add( m_In29Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1331 
1332  m_In29Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1333  m_In29Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
1334 
1335  wxBoxSizer* bIn29Sizer;
1336  bIn29Sizer = new wxBoxSizer( wxVERTICAL );
1337 
1338  m_In29CheckBox = new wxCheckBox( m_In29Panel, ID_IN29CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1339  m_In29CheckBox->Enable( false );
1340 
1341  bIn29Sizer->Add( m_In29CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1342 
1343 
1344  m_In29Panel->SetSizer( bIn29Sizer );
1345  m_In29Panel->Layout();
1346  bIn29Sizer->Fit( m_In29Panel );
1347  m_LayerListFlexGridSizer->Add( m_In29Panel, 1, wxEXPAND, 5 );
1348 
1349  wxString m_In29ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
1350  int m_In29ChoiceNChoices = sizeof( m_In29ChoiceChoices ) / sizeof( wxString );
1351  m_In29Choice = new wxChoice( m_LayersListPanel, ID_IN29CHOICE, wxDefaultPosition, wxDefaultSize, m_In29ChoiceNChoices, m_In29ChoiceChoices, 0 );
1352  m_In29Choice->SetSelection( 0 );
1353  m_In29Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
1354 
1355  m_LayerListFlexGridSizer->Add( m_In29Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1356 
1357  m_In30Name = new wxTextCtrl( m_LayersListPanel, ID_IN30NAME, _("In30"), wxDefaultPosition, wxDefaultSize, 0 );
1358  #ifdef __WXGTK__
1359  if ( !m_In30Name->HasFlag( wxTE_MULTILINE ) )
1360  {
1361  m_In30Name->SetMaxLength( 20 );
1362  }
1363  #else
1364  m_In30Name->SetMaxLength( 20 );
1365  #endif
1366  m_LayerListFlexGridSizer->Add( m_In30Name, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1367 
1368  m_In30Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1369  m_In30Panel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
1370 
1371  wxBoxSizer* bIn30Sizer;
1372  bIn30Sizer = new wxBoxSizer( wxVERTICAL );
1373 
1374  m_In30CheckBox = new wxCheckBox( m_In30Panel, ID_IN30CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1375  m_In30CheckBox->Enable( false );
1376 
1377  bIn30Sizer->Add( m_In30CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1378 
1379 
1380  m_In30Panel->SetSizer( bIn30Sizer );
1381  m_In30Panel->Layout();
1382  bIn30Sizer->Fit( m_In30Panel );
1383  m_LayerListFlexGridSizer->Add( m_In30Panel, 1, wxEXPAND, 5 );
1384 
1385  wxString m_In30ChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
1386  int m_In30ChoiceNChoices = sizeof( m_In30ChoiceChoices ) / sizeof( wxString );
1387  m_In30Choice = new wxChoice( m_LayersListPanel, ID_IN30CHOICE, wxDefaultPosition, wxDefaultSize, m_In30ChoiceNChoices, m_In30ChoiceChoices, 0 );
1388  m_In30Choice->SetSelection( 0 );
1389  m_In30Choice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
1390 
1391  m_LayerListFlexGridSizer->Add( m_In30Choice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1392 
1393  m_BackName = new wxTextCtrl( m_LayersListPanel, ID_BACKNAME, _("Back"), wxDefaultPosition, wxDefaultSize, 0 );
1394  #ifdef __WXGTK__
1395  if ( !m_BackName->HasFlag( wxTE_MULTILINE ) )
1396  {
1397  m_BackName->SetMaxLength( 20 );
1398  }
1399  #else
1400  m_BackName->SetMaxLength( 20 );
1401  #endif
1402  m_BackName->SetToolTip( _("Layer name of back (bottom) copper layer") );
1403 
1404  m_LayerListFlexGridSizer->Add( m_BackName, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1405 
1406  m_BackPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1407  m_BackPanel->SetBackgroundColour( wxColour( 236, 253, 216 ) );
1408 
1409  wxBoxSizer* bBackSizer;
1410  bBackSizer = new wxBoxSizer( wxVERTICAL );
1411 
1412  m_BackCheckBox = new wxCheckBox( m_BackPanel, ID_BACKCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1413  m_BackCheckBox->Enable( false );
1414  m_BackCheckBox->SetToolTip( _("If you want a back copper layer") );
1415 
1416  bBackSizer->Add( m_BackCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1417 
1418 
1419  m_BackPanel->SetSizer( bBackSizer );
1420  m_BackPanel->Layout();
1421  bBackSizer->Fit( m_BackPanel );
1422  m_LayerListFlexGridSizer->Add( m_BackPanel, 1, wxEXPAND, 5 );
1423 
1424  wxString m_BackChoiceChoices[] = { _("signal"), _("power"), _("mixed"), _("jumper") };
1425  int m_BackChoiceNChoices = sizeof( m_BackChoiceChoices ) / sizeof( wxString );
1426  m_BackChoice = new wxChoice( m_LayersListPanel, ID_BACKCHOICE, wxDefaultPosition, wxDefaultSize, m_BackChoiceNChoices, m_BackChoiceChoices, 0 );
1427  m_BackChoice->SetSelection( 0 );
1428  m_BackChoice->SetToolTip( _("Copper layer type for Freerouter. Power layers are removed from Freerouter's layer menus.") );
1429 
1430  m_LayerListFlexGridSizer->Add( m_BackChoice, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
1431 
1432  m_MaskBackName = new wxStaticText( m_LayersListPanel, ID_MASKBACKNAME, _("Mask_Back_later"), wxDefaultPosition, wxDefaultSize, 0 );
1433  m_MaskBackName->Wrap( -1 );
1434  m_LayerListFlexGridSizer->Add( m_MaskBackName, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1435 
1436  m_MaskBackPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
1437  m_MaskBackPanel->SetBackgroundColour( wxColour( 255, 252, 235 ) );
1438 
1439  wxBoxSizer* bSizer24;
1440  bSizer24 = new wxBoxSizer( wxVERTICAL );
1441 
1442  m_MaskBackCheckBox = new wxCheckBox( m_MaskBackPanel, ID_MASKBACKCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1443  m_MaskBackCheckBox->SetToolTip( _("If you want a solder mask layer for the back side of the board") );
1444 
1445  bSizer24->Add( m_MaskBackCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1446 
1447 
1448  m_MaskBackPanel->SetSizer( bSizer24 );
1449  m_MaskBackPanel->Layout();
1450  bSizer24->Fit( m_MaskBackPanel );
1451  m_LayerListFlexGridSizer->Add( m_MaskBackPanel, 1, wxEXPAND, 5 );
1452 
1453  m_MaskBackStaticText = new wxStaticText( m_LayersListPanel, ID_MASKBACKCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 );
1454  m_MaskBackStaticText->Wrap( -1 );
1455  m_LayerListFlexGridSizer->Add( m_MaskBackStaticText, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1456 
1457  m_SilkSBackName = new wxStaticText( m_LayersListPanel, ID_SILKSBACKNAME, _("SilkS_Back_later"), wxDefaultPosition, wxDefaultSize, 0 );
1458  m_SilkSBackName->Wrap( -1 );
1459  m_LayerListFlexGridSizer->Add( m_SilkSBackName, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1460 
1461  m_SilkSBackPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
1462  m_SilkSBackPanel->SetBackgroundColour( wxColour( 255, 252, 235 ) );
1463 
1464  wxBoxSizer* bSizer25;
1465  bSizer25 = new wxBoxSizer( wxVERTICAL );
1466 
1467  m_SilkSBackCheckBox = new wxCheckBox( m_SilkSBackPanel, ID_SILKSBACKCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1468  m_SilkSBackCheckBox->SetToolTip( _("If you want a silk screen layer for the back side of the board") );
1469 
1470  bSizer25->Add( m_SilkSBackCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1471 
1472 
1473  m_SilkSBackPanel->SetSizer( bSizer25 );
1474  m_SilkSBackPanel->Layout();
1475  bSizer25->Fit( m_SilkSBackPanel );
1476  m_LayerListFlexGridSizer->Add( m_SilkSBackPanel, 1, wxEXPAND, 5 );
1477 
1478  m_SilkSBackStaticText = new wxStaticText( m_LayersListPanel, ID_SILKSBACKCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 );
1479  m_SilkSBackStaticText->Wrap( -1 );
1480  m_LayerListFlexGridSizer->Add( m_SilkSBackStaticText, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1481 
1482  m_SoldPBackName = new wxStaticText( m_LayersListPanel, ID_SOLDPBACKNAME, _("SoldP_Back_later"), wxDefaultPosition, wxDefaultSize, 0 );
1483  m_SoldPBackName->Wrap( -1 );
1484  m_LayerListFlexGridSizer->Add( m_SoldPBackName, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1485 
1486  m_SoldPBackPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
1487  m_SoldPBackPanel->SetBackgroundColour( wxColour( 255, 253, 235 ) );
1488 
1489  wxBoxSizer* bSizer26;
1490  bSizer26 = new wxBoxSizer( wxVERTICAL );
1491 
1492  m_SoldPBackCheckBox = new wxCheckBox( m_SoldPBackPanel, ID_SOLDPBACKCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1493  m_SoldPBackCheckBox->SetToolTip( _("If you want a solder paste layer for the back side of the board") );
1494 
1495  bSizer26->Add( m_SoldPBackCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1496 
1497 
1498  m_SoldPBackPanel->SetSizer( bSizer26 );
1499  m_SoldPBackPanel->Layout();
1500  bSizer26->Fit( m_SoldPBackPanel );
1501  m_LayerListFlexGridSizer->Add( m_SoldPBackPanel, 1, wxEXPAND, 5 );
1502 
1503  m_SoldPBackStaticText = new wxStaticText( m_LayersListPanel, ID_SOLDPBACKCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 );
1504  m_SoldPBackStaticText->Wrap( -1 );
1505  m_LayerListFlexGridSizer->Add( m_SoldPBackStaticText, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1506 
1507  m_AdhesBackName = new wxStaticText( m_LayersListPanel, ID_ADHESBACKNAME, _("Adhes_Back_later"), wxDefaultPosition, wxDefaultSize, 0 );
1508  m_AdhesBackName->Wrap( -1 );
1509  m_LayerListFlexGridSizer->Add( m_AdhesBackName, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1510 
1511  m_AdhesBackPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
1512  m_AdhesBackPanel->SetBackgroundColour( wxColour( 236, 233, 236 ) );
1513 
1514  wxBoxSizer* bSizer27;
1515  bSizer27 = new wxBoxSizer( wxVERTICAL );
1516 
1517  m_AdhesBackCheckBox = new wxCheckBox( m_AdhesBackPanel, ID_ADHESBACKCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1518  m_AdhesBackCheckBox->SetToolTip( _("If you want an adhesive layer for the back side of the board") );
1519 
1520  bSizer27->Add( m_AdhesBackCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1521 
1522 
1523  m_AdhesBackPanel->SetSizer( bSizer27 );
1524  m_AdhesBackPanel->Layout();
1525  bSizer27->Fit( m_AdhesBackPanel );
1526  m_LayerListFlexGridSizer->Add( m_AdhesBackPanel, 1, wxEXPAND, 5 );
1527 
1528  m_AdhesBackStaticText = new wxStaticText( m_LayersListPanel, ID_ADHESBACKCHOICE, _("On-board, non-copper"), wxDefaultPosition, wxDefaultSize, 0 );
1529  m_AdhesBackStaticText->Wrap( -1 );
1530  m_LayerListFlexGridSizer->Add( m_AdhesBackStaticText, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1531 
1532  m_FabBackName = new wxStaticText( m_LayersListPanel, ID_FABBACKNAME, _("Fab_Back_later"), wxDefaultPosition, wxDefaultSize, 0 );
1533  m_FabBackName->Wrap( -1 );
1534  m_LayerListFlexGridSizer->Add( m_FabBackName, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
1535 
1536  m_FabBackPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
1537  m_FabBackPanel->SetBackgroundColour( wxColour( 236, 233, 236 ) );
1538 
1539  wxBoxSizer* bSizer281;
1540  bSizer281 = new wxBoxSizer( wxVERTICAL );
1541 
1542  m_FabBackCheckBox = new wxCheckBox( m_FabBackPanel, ID_FABBACKCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1543  m_FabBackCheckBox->SetToolTip( _("If you want a fabrication layer for the back side of the board") );
1544 
1545  bSizer281->Add( m_FabBackCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1546 
1547 
1548  m_FabBackPanel->SetSizer( bSizer281 );
1549  m_FabBackPanel->Layout();
1550  bSizer281->Fit( m_FabBackPanel );
1551  m_LayerListFlexGridSizer->Add( m_FabBackPanel, 1, wxEXPAND, 5 );
1552 
1553  m_FabBackStaticText = new wxStaticText( m_LayersListPanel, ID_FABBACKCHOICE, _("Off-board, manufacturing"), wxDefaultPosition, wxDefaultSize, 0 );
1554  m_FabBackStaticText->Wrap( -1 );
1555  m_LayerListFlexGridSizer->Add( m_FabBackStaticText, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
1556 
1557  m_CrtYdBackName = new wxStaticText( m_LayersListPanel, ID_CRTYDBACKNAME, _("CrtYd_Back_later"), wxDefaultPosition, wxDefaultSize, 0 );
1558  m_CrtYdBackName->Wrap( -1 );
1559  m_LayerListFlexGridSizer->Add( m_CrtYdBackName, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
1560 
1561  m_CrtYdBackPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
1562  m_CrtYdBackPanel->SetBackgroundColour( wxColour( 255, 233, 236 ) );
1563 
1564  wxBoxSizer* bSizer6111;
1565  bSizer6111 = new wxBoxSizer( wxVERTICAL );
1566 
1567  m_CrtYdBackCheckBox = new wxCheckBox( m_CrtYdBackPanel, ID_CRTYDBACKCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1568  m_CrtYdBackCheckBox->SetToolTip( _("If you want a courtyard layer for the back side of the board") );
1569 
1570  bSizer6111->Add( m_CrtYdBackCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1571 
1572 
1573  m_CrtYdBackPanel->SetSizer( bSizer6111 );
1574  m_CrtYdBackPanel->Layout();
1575  bSizer6111->Fit( m_CrtYdBackPanel );
1576  m_LayerListFlexGridSizer->Add( m_CrtYdBackPanel, 1, wxEXPAND, 5 );
1577 
1578  m_CrtYdBackStaticText = new wxStaticText( m_LayersListPanel, ID_CRTYDBACKCHOICE, _("Off-board, testing"), wxDefaultPosition, wxDefaultSize, 0 );
1579  m_CrtYdBackStaticText->Wrap( -1 );
1580  m_LayerListFlexGridSizer->Add( m_CrtYdBackStaticText, 0, wxALL, 5 );
1581 
1582  m_PCBEdgesName = new wxStaticText( m_LayersListPanel, ID_PCBEDGESNAME, _("PCB_Edges_later"), wxDefaultPosition, wxDefaultSize, 0 );
1583  m_PCBEdgesName->Wrap( -1 );
1584  m_LayerListFlexGridSizer->Add( m_PCBEdgesName, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1585 
1586  m_PCBEdgesPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
1587  m_PCBEdgesPanel->SetBackgroundColour( wxColour( 255, 253, 216 ) );
1588 
1589  wxBoxSizer* bSizer28;
1590  bSizer28 = new wxBoxSizer( wxVERTICAL );
1591 
1592  m_PCBEdgesCheckBox = new wxCheckBox( m_PCBEdgesPanel, ID_PCBEDGESCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1593  m_PCBEdgesCheckBox->SetToolTip( _("If you want a board perimeter layer") );
1594 
1595  bSizer28->Add( m_PCBEdgesCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1596 
1597 
1598  m_PCBEdgesPanel->SetSizer( bSizer28 );
1599  m_PCBEdgesPanel->Layout();
1600  bSizer28->Fit( m_PCBEdgesPanel );
1601  m_LayerListFlexGridSizer->Add( m_PCBEdgesPanel, 1, wxEXPAND, 5 );
1602 
1603  m_PCBEdgesStaticText = new wxStaticText( m_LayersListPanel, ID_PCBEDGESCHOICE, _("Board contour"), wxDefaultPosition, wxDefaultSize, 0 );
1604  m_PCBEdgesStaticText->Wrap( -1 );
1605  m_LayerListFlexGridSizer->Add( m_PCBEdgesStaticText, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1606 
1607  m_MarginName = new wxStaticText( m_LayersListPanel, ID_MARGINNAME, _("Margin_later"), wxDefaultPosition, wxDefaultSize, 0 );
1608  m_MarginName->Wrap( -1 );
1609  m_LayerListFlexGridSizer->Add( m_MarginName, 0, wxALL, 5 );
1610 
1611  m_MarginPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1612  m_MarginPanel->SetBackgroundColour( wxColour( 236, 233, 255 ) );
1613 
1614  wxBoxSizer* bSizer291;
1615  bSizer291 = new wxBoxSizer( wxVERTICAL );
1616 
1617  m_MarginCheckBox = new wxCheckBox( m_MarginPanel, ID_MARGINCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1618  bSizer291->Add( m_MarginCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1619 
1620 
1621  m_MarginPanel->SetSizer( bSizer291 );
1622  m_MarginPanel->Layout();
1623  bSizer291->Fit( m_MarginPanel );
1624  m_LayerListFlexGridSizer->Add( m_MarginPanel, 1, wxEXPAND, 5 );
1625 
1626  m_MarginStaticText = new wxStaticText( m_LayersListPanel, ID_ECO2CHOICE, _("Edge_Cuts setback"), wxDefaultPosition, wxDefaultSize, 0 );
1627  m_MarginStaticText->Wrap( -1 );
1628  m_LayerListFlexGridSizer->Add( m_MarginStaticText, 0, wxALL, 5 );
1629 
1630  m_Eco1Name = new wxStaticText( m_LayersListPanel, ID_ECO2NAME, _("Eco1_later"), wxDefaultPosition, wxDefaultSize, 0 );
1631  m_Eco1Name->Wrap( -1 );
1632  m_LayerListFlexGridSizer->Add( m_Eco1Name, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1633 
1634  m_Eco1Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1635  m_Eco1Panel->SetBackgroundColour( wxColour( 236, 233, 255 ) );
1636 
1637  wxBoxSizer* bSizer29;
1638  bSizer29 = new wxBoxSizer( wxVERTICAL );
1639 
1640  m_Eco1CheckBox = new wxCheckBox( m_Eco1Panel, ID_ECO2CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1641  bSizer29->Add( m_Eco1CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1642 
1643 
1644  m_Eco1Panel->SetSizer( bSizer29 );
1645  m_Eco1Panel->Layout();
1646  bSizer29->Fit( m_Eco1Panel );
1647  m_LayerListFlexGridSizer->Add( m_Eco1Panel, 1, wxEXPAND, 5 );
1648 
1649  m_Eco1StaticText = new wxStaticText( m_LayersListPanel, ID_ECO2CHOICE, _("Auxiliary"), wxDefaultPosition, wxDefaultSize, 0 );
1650  m_Eco1StaticText->Wrap( -1 );
1651  m_LayerListFlexGridSizer->Add( m_Eco1StaticText, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1652 
1653  m_Eco2Name = new wxStaticText( m_LayersListPanel, ID_ECO1NAME, _("Eco2_later"), wxDefaultPosition, wxDefaultSize, 0 );
1654  m_Eco2Name->Wrap( -1 );
1655  m_LayerListFlexGridSizer->Add( m_Eco2Name, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1656 
1657  m_Eco2Panel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1658  m_Eco2Panel->SetBackgroundColour( wxColour( 236, 233, 255 ) );
1659 
1660  wxBoxSizer* bSizer30;
1661  bSizer30 = new wxBoxSizer( wxVERTICAL );
1662 
1663  m_Eco2CheckBox = new wxCheckBox( m_Eco2Panel, ID_ECO1CHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1664  bSizer30->Add( m_Eco2CheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1665 
1666 
1667  m_Eco2Panel->SetSizer( bSizer30 );
1668  m_Eco2Panel->Layout();
1669  bSizer30->Fit( m_Eco2Panel );
1670  m_LayerListFlexGridSizer->Add( m_Eco2Panel, 1, wxEXPAND, 5 );
1671 
1672  m_Eco2StaticText = new wxStaticText( m_LayersListPanel, ID_ECO1CHOICE, _("Auxiliary"), wxDefaultPosition, wxDefaultSize, 0 );
1673  m_Eco2StaticText->Wrap( -1 );
1674  m_LayerListFlexGridSizer->Add( m_Eco2StaticText, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1675 
1676  m_CommentsName = new wxStaticText( m_LayersListPanel, ID_COMMENTSNAME, _("Comments_later"), wxDefaultPosition, wxDefaultSize, 0 );
1677  m_CommentsName->Wrap( -1 );
1678  m_LayerListFlexGridSizer->Add( m_CommentsName, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1679 
1680  m_CommentsPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
1681  m_CommentsPanel->SetBackgroundColour( wxColour( 236, 233, 255 ) );
1682 
1683  wxBoxSizer* bSizer31;
1684  bSizer31 = new wxBoxSizer( wxVERTICAL );
1685 
1686  m_CommentsCheckBox = new wxCheckBox( m_CommentsPanel, ID_COMMENTSCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1687  m_CommentsCheckBox->SetToolTip( _("If you want a separate layer for comments or notes") );
1688 
1689  bSizer31->Add( m_CommentsCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1690 
1691 
1692  m_CommentsPanel->SetSizer( bSizer31 );
1693  m_CommentsPanel->Layout();
1694  bSizer31->Fit( m_CommentsPanel );
1695  m_LayerListFlexGridSizer->Add( m_CommentsPanel, 1, wxEXPAND, 5 );
1696 
1697  m_CommentsStaticText = new wxStaticText( m_LayersListPanel, ID_COMMENTSCHOICE, _("Auxiliary"), wxDefaultPosition, wxDefaultSize, 0 );
1698  m_CommentsStaticText->Wrap( -1 );
1699  m_LayerListFlexGridSizer->Add( m_CommentsStaticText, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1700 
1701  m_DrawingsName = new wxStaticText( m_LayersListPanel, ID_DRAWINGSNAME, _("Drawings_later"), wxDefaultPosition, wxDefaultSize, 0 );
1702  m_DrawingsName->Wrap( -1 );
1703  m_LayerListFlexGridSizer->Add( m_DrawingsName, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
1704 
1705  m_DrawingsPanel = new wxPanel( m_LayersListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1706  m_DrawingsPanel->SetBackgroundColour( wxColour( 236, 233, 255 ) );
1707 
1708  wxBoxSizer* bSizer32;
1709  bSizer32 = new wxBoxSizer( wxVERTICAL );
1710 
1711  m_DrawingsCheckBox = new wxCheckBox( m_DrawingsPanel, ID_DRAWINGSCHECKBOX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1712  m_DrawingsCheckBox->SetToolTip( _("If you want a layer for documentation drawings") );
1713 
1714  bSizer32->Add( m_DrawingsCheckBox, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1715 
1716 
1717  m_DrawingsPanel->SetSizer( bSizer32 );
1718  m_DrawingsPanel->Layout();
1719  bSizer32->Fit( m_DrawingsPanel );
1720  m_LayerListFlexGridSizer->Add( m_DrawingsPanel, 1, wxEXPAND, 5 );
1721 
1722  m_DrawingsStaticText = new wxStaticText( m_LayersListPanel, ID_DRAWINGSCHOICE, _("Auxiliary"), wxDefaultPosition, wxDefaultSize, 0 );
1723  m_DrawingsStaticText->Wrap( -1 );
1724  m_LayerListFlexGridSizer->Add( m_DrawingsStaticText, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1725 
1726 
1728  m_LayersListPanel->Layout();
1730  b_layersListSizer->Add( m_LayersListPanel, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
1731 
1732 
1733  bMainSizer->Add( b_layersListSizer, 1, wxEXPAND, 5 );
1734 
1735  m_sdbSizer = new wxStdDialogButtonSizer();
1736  m_sdbSizerOK = new wxButton( this, wxID_OK );
1737  m_sdbSizer->AddButton( m_sdbSizerOK );
1738  m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
1739  m_sdbSizer->AddButton( m_sdbSizerCancel );
1740  m_sdbSizer->Realize();
1741 
1742  bMainSizer->Add( m_sdbSizer, 0, wxALL|wxEXPAND, 5 );
1743 
1744 
1745  this->SetSizer( bMainSizer );
1746  this->Layout();
1747 
1748  // Connect Events
1749  this->Connect( wxEVT_SIZE, wxSizeEventHandler( DIALOG_LAYERS_SETUP_BASE::OnSize ) );
1750  m_PresetsChoice->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnPresetsChoice ), NULL, this );
1751  m_CopperLayersChoice->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCopperLayersChoice ), NULL, this );
1752  m_CrtYdFrontCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1753  m_FabFrontCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1754  m_AdhesFrontCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1755  m_SoldPFrontCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1756  m_SilkSFrontCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1757  m_MaskFrontCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1758  m_FrontCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1759  m_In1CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1760  m_In2CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1761  m_In3CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1762  m_In4CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1763  m_In5CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1764  m_In6CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1765  m_In7CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1766  m_In8CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1767  m_In9CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1768  m_In10CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1769  m_In11CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1770  m_In12CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1771  m_In13CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1772  m_In14CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1773  m_In15CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1774  m_In16CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1775  m_In17CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1776  m_In18CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1777  m_In19CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1778  m_In20CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1779  m_In21CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1780  m_In22CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1781  m_In23CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1782  m_In24CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1783  m_In25CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1784  m_In26CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1785  m_In27CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1786  m_In28CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1787  m_In29CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1788  m_In30CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1789  m_BackCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1790  m_MaskBackCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1791  m_SilkSBackCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1792  m_SoldPBackCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1793  m_AdhesBackCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1794  m_FabBackCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1795  m_CrtYdBackCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1796  m_PCBEdgesCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1797  m_MarginCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1798  m_Eco1CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1799  m_Eco2CheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1800  m_CommentsCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1801  m_DrawingsCheckBox->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1802  m_sdbSizerCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCancelButtonClick ), NULL, this );
1803  m_sdbSizerOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnOkButtonClick ), NULL, this );
1804 }
1805 
1807 {
1808  // Disconnect Events
1809  this->Disconnect( wxEVT_SIZE, wxSizeEventHandler( DIALOG_LAYERS_SETUP_BASE::OnSize ) );
1810  m_PresetsChoice->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnPresetsChoice ), NULL, this );
1811  m_CopperLayersChoice->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCopperLayersChoice ), NULL, this );
1812  m_CrtYdFrontCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1813  m_FabFrontCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1814  m_AdhesFrontCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1815  m_SoldPFrontCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1816  m_SilkSFrontCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1817  m_MaskFrontCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1818  m_FrontCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1819  m_In1CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1820  m_In2CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1821  m_In3CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1822  m_In4CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1823  m_In5CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1824  m_In6CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1825  m_In7CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1826  m_In8CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1827  m_In9CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1828  m_In10CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1829  m_In11CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1830  m_In12CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1831  m_In13CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1832  m_In14CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1833  m_In15CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1834  m_In16CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1835  m_In17CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1836  m_In18CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1837  m_In19CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1838  m_In20CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1839  m_In21CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1840  m_In22CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1841  m_In23CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1842  m_In24CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1843  m_In25CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1844  m_In26CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1845  m_In27CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1846  m_In28CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1847  m_In29CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1848  m_In30CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1849  m_BackCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::DenyChangeCheckBox ), NULL, this );
1850  m_MaskBackCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1851  m_SilkSBackCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1852  m_SoldPBackCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1853  m_AdhesBackCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1854  m_FabBackCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1855  m_CrtYdBackCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1856  m_PCBEdgesCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1857  m_MarginCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1858  m_Eco1CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1859  m_Eco2CheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1860  m_CommentsCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1861  m_DrawingsCheckBox->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCheckBox ), NULL, this );
1862  m_sdbSizerCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnCancelButtonClick ), NULL, this );
1863  m_sdbSizerOK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_LAYERS_SETUP_BASE::OnOkButtonClick ), NULL, this );
1864 
1865 }
#define ID_CRTYDBACKNAME
#define ID_IN4NAME
#define ID_FRONTCHOICE
#define ID_IN8CHOICE
#define ID_IN25CHECKBOX
#define ID_SILKSBACKNAME
wxFlexGridSizer * m_LayerListFlexGridSizer
#define ID_ADHESBACKCHOICE
#define ID_IN12NAME
virtual void OnPresetsChoice(wxCommandEvent &event)
#define ID_MASKFRONTCHOICE
#define ID_MARGINCHECKBOX
#define ID_IN30NAME
#define ID_IN24CHECKBOX
#define ID_IN22CHOICE
#define ID_IN25CHOICE
#define ID_CRTYDBACKCHOICE
#define ID_DRAWINGSNAME
#define ID_IN15NAME
#define ID_IN1NAME
#define ID_IN10CHOICE
#define ID_IN5NAME
#define ID_ADHESBACKCHECKBOX
#define ID_IN16CHOICE
#define ID_IN28NAME
#define ID_IN11CHECKBOX
#define ID_IN18NAME
#define ID_SOLDPFRONTCHOICE
#define ID_IN13CHECKBOX
#define ID_IN7CHECKBOX
#define ID_COMMENTSCHOICE
#define ID_IN2NAME
#define ID_IN19CHECKBOX
#define ID_IN17CHECKBOX
#define ID_CRTYDBACKCHECKBOX
#define ID_MASKBACKCHECKBOX
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:60
#define ID_FRONTCHECKBOX
#define ID_PCBEDGESNAME
#define ID_BACKCHECKBOX
#define ID_IN14NAME
#define ID_CRTYDFRONTNAME
#define ID_SOLDPBACKNAME
#define ID_PCBEDGESCHOICE
#define ID_IN8CHECKBOX
#define ID_IN9CHOICE
virtual void OnOkButtonClick(wxCommandEvent &event)
#define ID_SILKSFRONTNAME
#define ID_IN28CHOICE
#define ID_IN29CHOICE
#define ID_ECO2CHOICE
#define ID_IN5CHOICE
#define ID_IN26CHOICE
#define ID_MARGINNAME
#define ID_IN27CHOICE
#define ID_SOLDPFRONTCHECKBOX
virtual void DenyChangeCheckBox(wxCommandEvent &event)
#define ID_CRTYDFRONTCHECKBOX
#define ID_IN26CHECKBOX
#define ID_IN21NAME
#define ID_IN9CHECKBOX
#define ID_IN18CHOICE
#define ID_IN15CHECKBOX
#define ID_IN12CHECKBOX
virtual void OnCheckBox(wxCommandEvent &event)
#define ID_SOLDPBACKCHOICE
#define ID_PCBEDGESCHECKBOX
#define ID_IN16NAME
#define ID_IN21CHOICE
#define ID_IN10NAME
#define ID_IN2CHECKBOX
#define ID_IN6NAME
#define ID_COMMENTSCHECKBOX
#define ID_FRONTNAME
#define ID_IN26NAME
#define ID_MASKFRONTNAME
#define ID_IN1CHOICE
#define ID_ADHESFRONTCHECKBOX
#define ID_CRTYDFRONTCHOICE
#define ID_SILKSBACKCHECKBOX
#define ID_IN7CHOICE
virtual void OnCopperLayersChoice(wxCommandEvent &event)
#define ID_IN20CHOICE
#define ID_FABBACKCHOICE
#define ID_IN2CHOICE
#define ID_ADHESFRONTCHOICE
#define ID_FABBACKCHECKBOX
#define ID_IN27CHECKBOX
#define ID_ECO1NAME
#define ID_IN13CHOICE
DIALOG_LAYERS_SETUP_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Layer Setup"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(550, 1580), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
#define ID_IN18CHECKBOX
#define ID_SOLDPBACKCHECKBOX
#define ID_FABFRONTCHOICE
#define ID_SOLDPFRONTNAME
#define ID_IN5CHECKBOX
#define ID_IN6CHECKBOX
#define ID_IN12CHOICE
#define ID_IN14CHECKBOX
#define ID_IN17CHOICE
#define ID_IN10CHECKBOX
#define ID_IN4CHECKBOX
#define ID_IN20CHECKBOX
#define ID_IN8NAME
#define ID_SILKSBACKCHOICE
#define ID_IN4CHOICE
#define ID_FABFRONTNAME
#define ID_IN29CHECKBOX
wxStdDialogButtonSizer * m_sdbSizer
#define ID_IN3CHECKBOX
#define ID_IN15CHOICE
#define ID_MASKBACKNAME
#define ID_IN7NAME
#define ID_IN3CHOICE
#define ID_IN6CHOICE
#define ID_FABFRONTCHECKBOX
#define ID_IN27NAME
#define ID_IN23CHECKBOX
#define ID_MASKBACKCHOICE
#define ID_ADHESFRONTNAME
#define ID_IN19NAME
#define ID_IN3NAME
#define ID_ECO1CHECKBOX
#define ID_DRAWINGSCHOICE
#define ID_IN14CHOICE
#define ID_BACKNAME
#define ID_IN22NAME
#define ID_IN11CHOICE
#define ID_SILKSFRONTCHECKBOX
#define ID_IN11NAME
#define ID_MASKFRONTCHECKBOX
#define ID_IN29NAME
#define ID_ECO1CHOICE
#define ID_BACKCHOICE
#define ID_SILKSFRONTCHOICE
#define ID_IN28CHECKBOX
#define ID_IN19CHOICE
#define ID_ADHESBACKNAME
#define ID_IN20NAME
#define ID_IN24NAME
#define ID_IN24CHOICE
#define ID_IN22CHECKBOX
#define ID_IN17NAME
#define ID_IN21CHECKBOX
#define ID_IN13NAME
#define ID_ECO2NAME
#define ID_IN30CHOICE
#define ID_FABBACKNAME
#define ID_IN23NAME
virtual void OnSize(wxSizeEvent &event)
#define ID_DRAWINGSCHECKBOX
#define ID_COMMENTSNAME
#define ID_IN30CHECKBOX
#define ID_IN1CHECKBOX
virtual void OnCancelButtonClick(wxCommandEvent &event)
#define ID_IN9NAME
#define ID_IN25NAME
#define ID_ECO2CHECKBOX
#define ID_IN16CHECKBOX