12PANEL_RULE_AREA_PROPERTIES_PLACEMENT_BASE::PANEL_RULE_AREA_PROPERTIES_PLACEMENT_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) : wxPanel( parent, id, pos, size, style,
name )
14 wxBoxSizer* bMainSizer;
15 bMainSizer =
new wxBoxSizer( wxVERTICAL );
17 wxBoxSizer* bMarginsSizer;
18 bMarginsSizer =
new wxBoxSizer( wxVERTICAL );
20 m_SheetCb =
new wxCheckBox(
this, wxID_ANY,
_(
"Place items from sheet:"), wxDefaultPosition, wxDefaultSize, 0 );
21 bMarginsSizer->Add(
m_SheetCb, 0, wxALL, 5 );
23 m_sheetCombo =
new wxComboBox(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_READONLY );
24 bMarginsSizer->Add(
m_sheetCombo, 0, wxLEFT|wxEXPAND, 25 );
27 bMarginsSizer->Add( 0, 15, 0, wxEXPAND, 5 );
29 m_ComponentsCb =
new wxCheckBox(
this, wxID_ANY,
_(
"Place items matching component class:"), wxDefaultPosition, wxDefaultSize, 0 );
32 m_componentClassCombo =
new wxComboBox(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_READONLY );
36 bMarginsSizer->Add( 0, 5, 0, 0, 5 );
39 bMainSizer->Add( bMarginsSizer, 1, wxEXPAND|wxBOTTOM|wxRIGHT, 5 );
42 this->SetSizer( bMainSizer );
44 bMainSizer->Fit(
this );
wxComboBox * m_componentClassCombo
wxCheckBox * m_ComponentsCb
wxComboBox * m_sheetCombo
PANEL_RULE_AREA_PROPERTIES_PLACEMENT_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
~PANEL_RULE_AREA_PROPERTIES_PLACEMENT_BASE()