KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_ibis_parser_reporter_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.0-4761b0c5)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
13
14DIALOG_IBIS_PARSER_REPORTER_BASE::DIALOG_IBIS_PARSER_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 )
15{
16 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
17
18 wxBoxSizer* bMainSizer;
19 bMainSizer = new wxBoxSizer( wxVERTICAL );
20
21 wxBoxSizer* bLowerSizer;
22 bLowerSizer = new wxBoxSizer( wxVERTICAL );
23
24 bLowerSizer->SetMinSize( wxSize( 600,260 ) );
25 m_messagePanel = new WX_HTML_REPORT_PANEL( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
26 bLowerSizer->Add( m_messagePanel, 1, wxEXPAND | wxALL, 5 );
27
28
29 bMainSizer->Add( bLowerSizer, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
30
31 m_sdbSizer = new wxStdDialogButtonSizer();
32 m_sdbSizerOK = new wxButton( this, wxID_OK );
33 m_sdbSizer->AddButton( m_sdbSizerOK );
34 m_sdbSizer->Realize();
35
36 bMainSizer->Add( m_sdbSizer, 0, wxALL|wxEXPAND, 5 );
37
38
39 this->SetSizer( bMainSizer );
40 this->Layout();
41 bMainSizer->Fit( this );
42
43 // Connect Events
44 m_sdbSizerOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_IBIS_PARSER_REPORTER_BASE::OnCloseClick ), NULL, this );
45}
46
48{
49 // Disconnect Events
50 m_sdbSizerOK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_IBIS_PARSER_REPORTER_BASE::OnCloseClick ), NULL, this );
51
52}
DIALOG_IBIS_PARSER_REPORTER_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Ibis parser"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnCloseClick(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
A widget for browsing a rich text error/status report.