m_GridCtrl=newwxRadioBox(itemDialog1,ID_RADIOBOX_GRID_SELECTION,_("Grid Size for Filling:"),wxDefaultPosition,wxDefaultSize,m_GridCtrlStrings,1,wxRA_SPECIFY_COLS);
intlayer_cnt=board->GetCopperLayerCount();
m_GridCtrl->SetSelection(0);
for(intii=0;ii<board->GetCopperLayerCount();ii++)
itemBoxSizer4->Add(m_GridCtrl,0,wxGROW|wxALL,5);
{
wxStringmsg;
m_ClearanceValueTitle=newwxStaticText(itemDialog1,wxID_STATIC,_("Zone clearance value (mm):"),wxDefaultPosition,wxDefaultSize,0);
m_GridCtrl=newwxRadioBox(this,ID_RADIOBOX_GRID_SELECTION,_("Grid Size for Filling:"),wxDefaultPosition,wxDefaultSize,m_GridCtrlNChoices,m_GridCtrlChoices,1,wxRA_SPECIFY_COLS);
m_GridCtrl->SetSelection(4);
m_FillOptionsBox->Add(m_GridCtrl,0,wxALL,5);
m_ClearanceValueTitle=newwxStaticText(this,wxID_ANY,_("Zone clearance value (mm):"),wxDefaultPosition,wxDefaultSize,0);
m_GridCtrl=newwxRadioBox(this,ID_RADIOBOX_GRID_SELECTION,_("Grid Size for Filling:"),wxDefaultPosition,wxDefaultSize,m_GridCtrlNChoices,m_GridCtrlChoices,1,wxRA_SPECIFY_COLS);
m_GridCtrl->SetSelection(4);
m_LeftBoxSizer->Add(m_GridCtrl,0,wxALL,5);
m_ClearanceValueTitle=newwxStaticText(this,wxID_ANY,_("Zone clearance value (mm):"),wxDefaultPosition,wxDefaultSize,0);
dialog_copper_zone_frame(wxWindow*parent,wxWindowIDid=wxID_ANY,constwxString&title=_("Fill Zones Options"),constwxPoint&pos=wxDefaultPosition,constwxSize&size=wxSize(452,493),longstyle=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxSUNKEN_BORDER);