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 4.0.0-0-g0efcecf)
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 m_ContentSizer = new wxBoxSizer( wxVERTICAL );
19
20 m_label = new wxStaticText( this, wxID_ANY, _("MyLabel"), wxDefaultPosition, wxDefaultSize, 0 );
21 m_label->Wrap( -1 );
22 m_ContentSizer->Add( m_label, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
23
24 m_textCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
25 m_textCtrl->SetMinSize( wxSize( 300,-1 ) );
26
27 m_ContentSizer->Add( m_textCtrl, 0, wxEXPAND|wxALL, 5 );
28
29 wxBoxSizer* bSizer3;
30 bSizer3 = new wxBoxSizer( wxHORIZONTAL );
31
32 m_choiceLabel = new wxStaticText( this, wxID_ANY, _("MyLabel"), wxDefaultPosition, wxDefaultSize, 0 );
33 m_choiceLabel->Wrap( -1 );
34 m_choiceLabel->Hide();
35
36 bSizer3->Add( m_choiceLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
37
38 wxArrayString m_choiceChoices;
39 m_choice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceChoices, 0 );
40 m_choice->SetSelection( 0 );
41 m_choice->Hide();
42
43 bSizer3->Add( m_choice, 3, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
44
45
46 m_ContentSizer->Add( bSizer3, 1, wxEXPAND, 5 );
47
48
49 m_mainSizer->Add( m_ContentSizer, 1, wxALL|wxEXPAND, 5 );
50
51 m_sdbSizer1 = new wxStdDialogButtonSizer();
52 m_sdbSizer1OK = new wxButton( this, wxID_OK );
53 m_sdbSizer1->AddButton( m_sdbSizer1OK );
54 m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
55 m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
56 m_sdbSizer1->Realize();
57
58 m_mainSizer->Add( m_sdbSizer1, 0, wxALL|wxEXPAND, 5 );
59
60
61 this->SetSizer( m_mainSizer );
62 this->Layout();
63 m_mainSizer->Fit( this );
64
65 this->Centre( wxBOTH );
66}
67
69{
70}
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
~WX_TEXT_ENTRY_DIALOG_BASE()
wxButton * m_sdbSizer1Cancel
wxChoice * m_choice
wxBoxSizer * m_ContentSizer
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)