KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_sync_sheet_pins_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
12DIALOG_SYNC_SHEET_PINS_BASE::DIALOG_SYNC_SHEET_PINS_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( -1,-1 ), wxDefaultSize );
15
16 m_sizerMain = new wxBoxSizer( wxVERTICAL );
17
18 m_notebook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
19
20 m_sizerMain->Add( m_notebook, 1, wxEXPAND | wxALL, 5 );
21
22 wxBoxSizer* bSizer8;
23 bSizer8 = new wxBoxSizer( wxHORIZONTAL );
24
25
26 bSizer8->Add( 0, 0, 1, wxEXPAND, 5 );
27
28 m_labelTip = new wxStaticText( this, wxID_ANY, _("Changes made in this dialog occur immediately, use Undo in each affected document to undo them"), wxDefaultPosition, wxDefaultSize, 0 );
29 m_labelTip->Wrap( -1 );
30 bSizer8->Add( m_labelTip, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
31
32 m_btnClose = new wxButton( this, wxID_ANY, _("Close"), wxDefaultPosition, wxDefaultSize, 0 );
33 bSizer8->Add( m_btnClose, 0, wxALL, 5 );
34
35
36 m_sizerMain->Add( bSizer8, 0, wxEXPAND, 5 );
37
38
39 this->SetSizer( m_sizerMain );
40 this->Layout();
41 m_sizerMain->Fit( this );
42
43 this->Centre( wxBOTH );
44
45 // Connect Events
46 m_btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SYNC_SHEET_PINS_BASE::OnCloseBtnClick ), NULL, this );
47}
48
50{
51 // Disconnect Events
52 m_btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SYNC_SHEET_PINS_BASE::OnCloseBtnClick ), NULL, this );
53
54}
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
DIALOG_SYNC_SHEET_PINS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Synchronize sheet pins and hierarchical labels"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnCloseBtnClick(wxCommandEvent &event)
#define _(s)