12PRODUCE_PCB_BASE::PRODUCE_PCB_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( wxDefaultSize, wxDefaultSize );
18 wxBoxSizer* bSizerContent;
19 bSizerContent =
new wxBoxSizer( wxVERTICAL );
21 m_label =
new wxStaticText(
this, wxID_ANY,
_(
"Select Manufacturer"), wxDefaultPosition, wxDefaultSize, 0 );
23 bSizerContent->Add(
m_label, 0, wxALL|wxEXPAND, 5 );
25 m_label1 =
new wxStaticText(
this, wxID_ANY,
_(
"from %s"), wxDefaultPosition, wxDefaultSize, 0 );
27 bSizerContent->Add(
m_label1, 0, wxALL, 5 );
29 m_label2 =
new wxStaticText(
this, wxID_ANY,
_(
"Details: %s"), wxDefaultPosition, wxDefaultSize, 0 );
31 bSizerContent->Add(
m_label2, 0, wxALL, 5 );
33 m_label3 =
new wxStaticText(
this, wxID_ANY,
_(
"Send project directly"), wxDefaultPosition, wxDefaultSize, 0 );
35 bSizerContent->Add(
m_label3, 0, wxALL, 5 );
37 m_label31 =
new wxStaticText(
this, wxID_ANY,
_(
"Sends production files to manufacturer from KiCad"), wxDefaultPosition, wxDefaultSize, 0 );
39 bSizerContent->Add(
m_label31, 0, wxALL, 5 );
41 m_label32 =
new wxStaticText(
this, wxID_ANY,
_(
"Produce PCB"), wxDefaultPosition, wxDefaultSize, 0 );
43 bSizerContent->Add(
m_label32, 0, wxALL, 5 );
46 m_mainSizer->Add( bSizerContent, 1, wxALL|wxEXPAND, 5 );
53 this->Centre( wxBOTH );
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
PRODUCE_PCB_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Send PCB for production"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)