2019-06-19 14:18:30 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2024-05-24 11:23:27 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
|
2019-06-19 14:18:30 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2021-09-24 17:35:36 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2019-06-19 14:18:30 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "dialog_text_entry_base.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
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 )
|
|
|
|
{
|
|
|
|
this->SetSizeHints( wxDefaultSize, wxDefaultSize );
|
2021-09-24 17:35:36 +00:00
|
|
|
|
|
|
|
m_mainSizer = new wxBoxSizer( wxVERTICAL );
|
|
|
|
|
2024-05-24 11:23:27 +00:00
|
|
|
m_ContentSizer = new wxBoxSizer( wxVERTICAL );
|
2021-09-24 17:35:36 +00:00
|
|
|
|
2019-06-19 14:18:30 +00:00
|
|
|
m_label = new wxStaticText( this, wxID_ANY, _("MyLabel"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_label->Wrap( -1 );
|
2024-06-19 16:07:38 +00:00
|
|
|
m_ContentSizer->Add( m_label, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
|
2021-09-24 17:35:36 +00:00
|
|
|
|
2019-06-19 14:18:30 +00:00
|
|
|
m_textCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_textCtrl->SetMinSize( wxSize( 300,-1 ) );
|
2021-09-24 17:35:36 +00:00
|
|
|
|
2024-06-19 16:07:38 +00:00
|
|
|
m_ContentSizer->Add( m_textCtrl, 0, wxEXPAND|wxALL, 5 );
|
2021-09-24 17:35:36 +00:00
|
|
|
|
|
|
|
wxBoxSizer* bSizer3;
|
|
|
|
bSizer3 = new wxBoxSizer( wxHORIZONTAL );
|
|
|
|
|
|
|
|
m_choiceLabel = new wxStaticText( this, wxID_ANY, _("MyLabel"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_choiceLabel->Wrap( -1 );
|
2021-09-28 16:17:45 +00:00
|
|
|
m_choiceLabel->Hide();
|
|
|
|
|
2021-10-29 19:29:49 +00:00
|
|
|
bSizer3->Add( m_choiceLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
|
2021-09-24 17:35:36 +00:00
|
|
|
|
|
|
|
wxArrayString m_choiceChoices;
|
|
|
|
m_choice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceChoices, 0 );
|
|
|
|
m_choice->SetSelection( 0 );
|
2021-09-28 16:17:45 +00:00
|
|
|
m_choice->Hide();
|
|
|
|
|
2021-10-29 19:29:49 +00:00
|
|
|
bSizer3->Add( m_choice, 3, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
|
2021-09-24 17:35:36 +00:00
|
|
|
|
|
|
|
|
2024-05-24 11:23:27 +00:00
|
|
|
m_ContentSizer->Add( bSizer3, 1, wxEXPAND, 5 );
|
2021-09-24 17:35:36 +00:00
|
|
|
|
|
|
|
|
2024-05-24 11:23:27 +00:00
|
|
|
m_mainSizer->Add( m_ContentSizer, 1, wxALL|wxEXPAND, 5 );
|
2021-09-24 17:35:36 +00:00
|
|
|
|
2019-06-19 14:18:30 +00:00
|
|
|
m_sdbSizer1 = new wxStdDialogButtonSizer();
|
|
|
|
m_sdbSizer1OK = new wxButton( this, wxID_OK );
|
|
|
|
m_sdbSizer1->AddButton( m_sdbSizer1OK );
|
|
|
|
m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
|
|
|
|
m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
|
|
|
|
m_sdbSizer1->Realize();
|
2021-09-24 17:35:36 +00:00
|
|
|
|
2021-10-29 19:29:49 +00:00
|
|
|
m_mainSizer->Add( m_sdbSizer1, 0, wxALL|wxEXPAND, 5 );
|
2021-09-24 17:35:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
this->SetSizer( m_mainSizer );
|
2019-06-19 14:18:30 +00:00
|
|
|
this->Layout();
|
2021-09-24 17:35:36 +00:00
|
|
|
m_mainSizer->Fit( this );
|
|
|
|
|
2019-06-19 14:18:30 +00:00
|
|
|
this->Centre( wxBOTH );
|
|
|
|
}
|
|
|
|
|
|
|
|
WX_TEXT_ENTRY_DIALOG_BASE::~WX_TEXT_ENTRY_DIALOG_BASE()
|
|
|
|
{
|
|
|
|
}
|