KiCad PCB EDA Suite
dialog_text_entry_base.cpp
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Aug 4 2017)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO "NOT" EDIT THIS FILE!
7 
9 
11 
12 WX_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  wxBoxSizer* bSizerMain;
17  bSizerMain = new wxBoxSizer( wxVERTICAL );
18 
19  wxBoxSizer* bSizerContent;
20  bSizerContent = new wxBoxSizer( wxVERTICAL );
21 
22  m_label = new wxStaticText( this, wxID_ANY, _("MyLabel"), wxDefaultPosition, wxDefaultSize, 0 );
23  m_label->Wrap( -1 );
24  bSizerContent->Add( m_label, 0, wxALL|wxEXPAND, 5 );
25 
26  m_textCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
27  m_textCtrl->SetMinSize( wxSize( 300,-1 ) );
28 
29  bSizerContent->Add( m_textCtrl, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
30 
31 
32  bSizerMain->Add( bSizerContent, 1, wxALL|wxEXPAND, 5 );
33 
34  m_sdbSizer1 = new wxStdDialogButtonSizer();
35  m_sdbSizer1OK = new wxButton( this, wxID_OK );
36  m_sdbSizer1->AddButton( m_sdbSizer1OK );
37  m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
38  m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
39  m_sdbSizer1->Realize();
40 
41  bSizerMain->Add( m_sdbSizer1, 0, wxALL|wxALIGN_RIGHT, 5 );
42 
43 
44  this->SetSizer( bSizerMain );
45  this->Layout();
46  bSizerMain->Fit( this );
47 
48  this->Centre( wxBOTH );
49 }
50 
52 {
53 }
wxStdDialogButtonSizer * m_sdbSizer1
wxButton * m_sdbSizer1Cancel
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:82
wxTextCtrl * m_textCtrl
wxStaticText * m_label
~WX_TEXT_ENTRY_DIALOG_BASE()
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)
wxButton * m_sdbSizer1OK