86 int aCopperLayerCount, wxString aGerberName )
88 wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER )
91 wxArrayString layerList;
104 if( aDefaultLayer == *copper_it )
112 layerList.Add(
LSET::Name( *non_copper_it ) );
114 if( aDefaultLayer == *non_copper_it )
120 layerList.Add(
_(
"Hole data" ) );
127 layerList.Add(
_(
"Do not export" ) );
135 wxDefaultSize, layerList, std::min(
int(
m_layerId.size() ), 12 ),
141 wxBoxSizer* mainSizer =
new wxBoxSizer( wxHORIZONTAL );
142 SetSizer( mainSizer );
143 mainSizer->Add(
m_layerRadioBox, 1, wxEXPAND | wxALIGN_TOP | wxALL, 5 );
144 wxBoxSizer* buttonsSizer =
new wxBoxSizer( wxVERTICAL );
145 mainSizer->Add( buttonsSizer, 0, wxALIGN_BOTTOM | wxALL, 5 );
147 button =
new wxButton(
this, wxID_OK,
_(
"OK" ) );
148 button->SetDefault();
149 buttonsSizer->Add( button, 0, wxGROW | wxALL, 5 );
151 button =
new wxButton(
this, wxID_CANCEL,
_(
"Cancel" ) );
152 buttonsSizer->Add( button, 0, wxGROW | wxALL, 5 );
160 GetSizer()->SetSizeHints(
this );
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
void Format(OUTPUTFORMATTER *out, int aNestLevel, int aCtl, const CPTREE &aTree)
Output a PTREE into s-expression format via an OUTPUTFORMATTER derivative.