KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_book_reporter_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
12DIALOG_BOOK_REPORTER_BASE::DIALOG_BOOK_REPORTER_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* bMainSizer;
17 bMainSizer = new wxBoxSizer( wxVERTICAL );
18
19 m_notebook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), 0 );
20 m_notebook->SetMinSize( wxSize( 550,480 ) );
21
22
23 bMainSizer->Add( m_notebook, 1, wxEXPAND|wxALL, 10 );
24
25 m_sdbSizer = new wxStdDialogButtonSizer();
26 m_sdbSizerOK = new wxButton( this, wxID_OK );
27 m_sdbSizer->AddButton( m_sdbSizerOK );
28 m_sdbSizer->Realize();
29
30 bMainSizer->Add( m_sdbSizer, 0, wxEXPAND|wxALL, 5 );
31
32
33 this->SetSizer( bMainSizer );
34 this->Layout();
35 bMainSizer->Fit( this );
36
37 this->Centre( wxBOTH );
38
39 // Connect Events
40 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_BOOK_REPORTER_BASE::OnClose ) );
41}
42
44{
45 // Disconnect Events
46 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_BOOK_REPORTER_BASE::OnClose ) );
47
48}
virtual void OnClose(wxCloseEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
DIALOG_BOOK_REPORTER_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Report"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:84