82 int aCopperLayerCount, wxString aGerberName )
84 wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER )
87 wxArrayString layerList;
100 if( aDefaultLayer == *copper_it )
108 layerList.Add(
LSET::Name( *non_copper_it ) );
110 if( aDefaultLayer == *non_copper_it )
116 layerList.Add(
_(
"Hole data" ) );
123 layerList.Add(
_(
"Do not export" ) );
131 wxDefaultSize, layerList, std::min(
int(
m_layerId.size() ), 12 ),
137 wxBoxSizer* mainSizer =
new wxBoxSizer( wxHORIZONTAL );
138 SetSizer( mainSizer );
139 mainSizer->Add(
m_layerRadioBox, 1, wxEXPAND | wxALIGN_TOP | wxALL, 5 );
140 wxBoxSizer* buttonsSizer =
new wxBoxSizer( wxVERTICAL );
141 mainSizer->Add( buttonsSizer, 0, wxALIGN_BOTTOM | wxALL, 5 );
143 button =
new wxButton(
this, wxID_OK,
_(
"OK" ) );
144 button->SetDefault();
145 buttonsSizer->Add( button, 0, wxGROW | wxALL, 5 );
147 button =
new wxButton(
this, wxID_CANCEL,
_(
"Cancel" ) );
148 buttonsSizer->Add( button, 0, wxGROW | wxALL, 5 );
156 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.