12DIALOG_UPDATE_CHECK_PROMPT_BASE::DIALOG_UPDATE_CHECK_PROMPT_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 );
16 wxBoxSizer* bSizerMain;
17 bSizerMain =
new wxBoxSizer( wxVERTICAL );
19 wxFlexGridSizer* fgSizer4;
20 fgSizer4 =
new wxFlexGridSizer( 0, 2, 10, 0 );
21 fgSizer4->SetFlexibleDirection( wxBOTH );
22 fgSizer4->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
25 bSizer4 =
new wxBoxSizer( wxVERTICAL );
27 m_messageLine1 =
new wxStaticText(
this, wxID_ANY,
_(
"Would you like to automatically check for updates on startup?"), wxDefaultPosition, wxDefaultSize, 0 );
31 m_cbKiCadUpdates =
new wxCheckBox(
this, wxID_ANY,
_(
"KiCad"), wxDefaultPosition, wxDefaultSize, 0 );
34 m_cbPCMUpdates =
new wxCheckBox(
this, wxID_ANY,
_(
"Plugin and Content Manager"), wxDefaultPosition, wxDefaultSize, 0 );
38 fgSizer4->Add( bSizer4, 1, wxEXPAND|wxRIGHT, 5 );
41 fgSizer4->Add( 0, 0, 1, wxEXPAND, 5 );
53 bSizerMain->Add( fgSizer4, 1, wxEXPAND|wxALL, 5 );
56 this->SetSizer( bSizerMain );
58 bSizerMain->Fit(
this );
60 this->Centre( wxBOTH );
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
wxButton * m_sdbSizerCancel
~DIALOG_UPDATE_CHECK_PROMPT_BASE()
wxCheckBox * m_cbKiCadUpdates
wxStaticText * m_messageLine1
DIALOG_UPDATE_CHECK_PROMPT_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Check for Updates"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
wxCheckBox * m_cbPCMUpdates
wxStdDialogButtonSizer * m_sdbSizer