KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_update_check_prompt_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
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 )
13{
14 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
15
16 wxBoxSizer* bSizerMain;
17 bSizerMain = new wxBoxSizer( wxVERTICAL );
18
19 wxFlexGridSizer* fgSizer4;
20 fgSizer4 = new wxFlexGridSizer( 0, 2, 10, 0 );
21 fgSizer4->SetFlexibleDirection( wxBOTH );
22 fgSizer4->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
23
24 wxBoxSizer* bSizer4;
25 bSizer4 = new wxBoxSizer( wxVERTICAL );
26
27 m_messageLine1 = new wxStaticText( this, wxID_ANY, _("Would you like to automatically check for updates on startup?"), wxDefaultPosition, wxDefaultSize, 0 );
28 m_messageLine1->Wrap( -1 );
29 bSizer4->Add( m_messageLine1, 0, wxALL, 5 );
30
31 m_cbKiCadUpdates = new wxCheckBox( this, wxID_ANY, _("KiCad"), wxDefaultPosition, wxDefaultSize, 0 );
32 bSizer4->Add( m_cbKiCadUpdates, 0, wxALL, 5 );
33
34 m_cbPCMUpdates = new wxCheckBox( this, wxID_ANY, _("Plugin and Content Manager"), wxDefaultPosition, wxDefaultSize, 0 );
35 bSizer4->Add( m_cbPCMUpdates, 0, wxALL, 5 );
36
37
38 fgSizer4->Add( bSizer4, 1, wxEXPAND|wxRIGHT, 5 );
39
40
41 fgSizer4->Add( 0, 0, 1, wxEXPAND, 5 );
42
43 m_sdbSizer = new wxStdDialogButtonSizer();
44 m_sdbSizerOK = new wxButton( this, wxID_OK );
45 m_sdbSizer->AddButton( m_sdbSizerOK );
46 m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
47 m_sdbSizer->AddButton( m_sdbSizerCancel );
48 m_sdbSizer->Realize();
49
50 fgSizer4->Add( m_sdbSizer, 1, wxEXPAND, 5 );
51
52
53 bSizerMain->Add( fgSizer4, 1, wxEXPAND|wxALL, 5 );
54
55
56 this->SetSizer( bSizerMain );
57 this->Layout();
58 bSizerMain->Fit( this );
59
60 this->Centre( wxBOTH );
61}
62
64{
65}
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
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)
#define _(s)