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 )
14 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
20 m_label =
new wxStaticText(
this, wxID_ANY,
_(
"MyLabel"), wxDefaultPosition, wxDefaultSize, 0 );
24 m_textCtrl =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
30 bSizer3 =
new wxBoxSizer( wxHORIZONTAL );
32 m_choiceLabel =
new wxStaticText(
this, wxID_ANY,
_(
"MyLabel"), wxDefaultPosition, wxDefaultSize, 0 );
36 bSizer3->Add(
m_choiceLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
38 wxArrayString m_choiceChoices;
39 m_choice =
new wxChoice(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceChoices, 0 );
43 bSizer3->Add(
m_choice, 3, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
65 this->Centre( wxBOTH );
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
~WX_TEXT_ENTRY_DIALOG_BASE()
wxButton * m_sdbSizer1Cancel
wxBoxSizer * m_ContentSizer
wxStaticText * m_choiceLabel
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)