KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_git_new_tag_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
12DIALOG_GIT_NEW_TAG_BASE::DIALOG_GIT_NEW_TAG_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( wxSize( 420,-1 ), wxDefaultSize );
15
16 wxBoxSizer* bMainSizer;
17 bMainSizer = new wxBoxSizer( wxVERTICAL );
18
19 wxBoxSizer* bNameRow;
20 bNameRow = new wxBoxSizer( wxHORIZONTAL );
21
22 wxStaticText* m_staticText15;
23 m_staticText15 = new wxStaticText( this, wxID_ANY, _("Tag name:"), wxDefaultPosition, wxDefaultSize, 0 );
24 m_staticText15->Wrap( -1 );
25 bNameRow->Add( m_staticText15, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 6 );
26
27 m_nameCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
28 bNameRow->Add( m_nameCtrl, 1, wxALIGN_CENTER_VERTICAL, 0 );
29
30
31 bMainSizer->Add( bNameRow, 0, wxEXPAND|wxALL, 10 );
32
33 wxStaticText* m_staticText16;
34 m_staticText16 = new wxStaticText( this, wxID_ANY, _("Message:"), wxDefaultPosition, wxDefaultSize, 0 );
35 m_staticText16->Wrap( -1 );
36 bMainSizer->Add( m_staticText16, 0, wxLEFT|wxRIGHT, 10 );
37
38 m_messageCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
39 m_messageCtrl->SetMinSize( wxSize( -1,120 ) );
40
41 bMainSizer->Add( m_messageCtrl, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 10 );
42
43 m_hint = new wxStaticText( this, wxID_ANY, _("A message makes an annotated tag. Leave it empty for a plain tag."), wxDefaultPosition, wxDefaultSize, 0 );
44 m_hint->Wrap( -1 );
45 bMainSizer->Add( m_hint, 0, wxLEFT|wxRIGHT|wxTOP, 10 );
46
47 m_sdbSizer = new wxStdDialogButtonSizer();
48 m_sdbSizerOK = new wxButton( this, wxID_OK );
49 m_sdbSizer->AddButton( m_sdbSizerOK );
50 m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
51 m_sdbSizer->AddButton( m_sdbSizerCancel );
52 m_sdbSizer->Realize();
53
54 bMainSizer->Add( m_sdbSizer, 0, wxEXPAND|wxALL, 10 );
55
56
57 this->SetSizer( bMainSizer );
58 this->Layout();
59 bMainSizer->Fit( this );
60
61 this->Centre( wxBOTH );
62}
63
DIALOG_GIT_NEW_TAG_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Create Tag"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxStdDialogButtonSizer * m_sdbSizer
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
#define _(s)