KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_text_entry_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.0-4761b0c5)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
12WX_TEXT_ENTRY_DIALOG_BASE::WX_TEXT_ENTRY_DIALOG_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 m_mainSizer = new wxBoxSizer( wxVERTICAL );
17
18 wxBoxSizer* bSizerContent;
19 bSizerContent = new wxBoxSizer( wxVERTICAL );
20
21 m_label = new wxStaticText( this, wxID_ANY, _("MyLabel"), wxDefaultPosition, wxDefaultSize, 0 );
22 m_label->Wrap( -1 );
23 bSizerContent->Add( m_label, 0, wxALL|wxEXPAND, 5 );
24
25 m_textCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
26 m_textCtrl->SetMinSize( wxSize( 300,-1 ) );
27
28 bSizerContent->Add( m_textCtrl, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
29
30 wxBoxSizer* bSizer3;
31 bSizer3 = new wxBoxSizer( wxHORIZONTAL );
32
33 m_choiceLabel = new wxStaticText( this, wxID_ANY, _("MyLabel"), wxDefaultPosition, wxDefaultSize, 0 );
34 m_choiceLabel->Wrap( -1 );
35 m_choiceLabel->Hide();
36
37 bSizer3->Add( m_choiceLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
38
39 wxArrayString m_choiceChoices;
40 m_choice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceChoices, 0 );
41 m_choice->SetSelection( 0 );
42 m_choice->Hide();
43
44 bSizer3->Add( m_choice, 3, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
45
46
47 bSizerContent->Add( bSizer3, 1, wxEXPAND, 5 );
48
49
50 m_mainSizer->Add( bSizerContent, 1, wxALL|wxEXPAND, 5 );
51
52 m_sdbSizer1 = new wxStdDialogButtonSizer();
53 m_sdbSizer1OK = new wxButton( this, wxID_OK );
54 m_sdbSizer1->AddButton( m_sdbSizer1OK );
55 m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
56 m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
57 m_sdbSizer1->Realize();
58
59 m_mainSizer->Add( m_sdbSizer1, 0, wxALL|wxEXPAND, 5 );
60
61
62 this->SetSizer( m_mainSizer );
63 this->Layout();
64 m_mainSizer->Fit( this );
65
66 this->Centre( wxBOTH );
67}
68
70{
71}
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:84
~WX_TEXT_ENTRY_DIALOG_BASE()
wxButton * m_sdbSizer1Cancel
wxChoice * m_choice
wxStaticText * m_label
wxStaticText * m_choiceLabel
wxTextCtrl * m_textCtrl
wxButton * m_sdbSizer1OK
wxBoxSizer * m_mainSizer
wxStdDialogButtonSizer * m_sdbSizer1
WX_TEXT_ENTRY_DIALOG_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
#define _(s)