12DIALOG_UNUSED_PAD_LAYERS_BASE::DIALOG_UNUSED_PAD_LAYERS_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
14 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
19 bMargins =
new wxBoxSizer( wxHORIZONTAL );
22 bSizer4 =
new wxBoxSizer( wxVERTICAL );
24 m_cbVias =
new wxCheckBox(
this, wxID_ANY,
_(
"Vias"), wxDefaultPosition, wxDefaultSize, 0 );
25 bSizer4->Add(
m_cbVias, 0, wxALL, 5 );
27 m_cbPads =
new wxCheckBox(
this, wxID_ANY,
_(
"Pads"), wxDefaultPosition, wxDefaultSize, 0 );
28 bSizer4->Add(
m_cbPads, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
31 bSizer4->Add( 0, 15, 0, wxEXPAND, 5 );
33 m_cbSelectedOnly =
new wxCheckBox(
this, wxID_ANY,
_(
"&Selected only"), wxDefaultPosition, wxDefaultSize, 0 );
40 bMargins->Add( bSizer4, 1, wxEXPAND|wxTOP|wxLEFT, 10 );
42 wxBoxSizer* bSizerPreview;
43 bSizerPreview =
new wxBoxSizer( wxVERTICAL );
46 bSizerPreview->Add( 0, 0, 0, wxEXPAND, 5 );
48 m_image =
new wxStaticBitmap(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
49 bSizerPreview->Add(
m_image, 0, wxTOP|wxRIGHT|wxLEFT, 10 );
52 bSizerPreview->Add( 0, 0, 0, wxEXPAND, 5 );
55 bMargins->Add( bSizerPreview, 1, wxEXPAND|wxLEFT|wxRIGHT, 5 );
58 m_MainSizer->Add( bMargins, 6, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 5 );
76 this->Centre( wxBOTH );
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)