2017-03-09 23:33:39 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2021-10-10 12:52:37 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.0)
|
2017-03-09 23:33:39 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-11-24 16:43:16 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2017-03-09 23:33:39 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "wx_html_report_panel.h"
|
|
|
|
|
|
|
|
#include "dialog_symbol_remap_base.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
DIALOG_SYMBOL_REMAP_BASE::DIALOG_SYMBOL_REMAP_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-10-10 12:52:37 +00:00
|
|
|
|
2017-03-09 23:33:39 +00:00
|
|
|
wxBoxSizer* bSizer1;
|
|
|
|
bSizer1 = new wxBoxSizer( wxVERTICAL );
|
2021-10-10 12:52:37 +00:00
|
|
|
|
2017-03-09 23:33:39 +00:00
|
|
|
wxBoxSizer* bSizer2;
|
|
|
|
bSizer2 = new wxBoxSizer( wxHORIZONTAL );
|
2021-10-10 12:52:37 +00:00
|
|
|
|
|
|
|
m_htmlCtrl = new HTML_WINDOW( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO );
|
2017-11-24 16:43:16 +00:00
|
|
|
bSizer2->Add( m_htmlCtrl, 4, wxALL|wxEXPAND, 5 );
|
2021-10-10 12:52:37 +00:00
|
|
|
|
2017-03-09 23:33:39 +00:00
|
|
|
wxBoxSizer* bSizer3;
|
|
|
|
bSizer3 = new wxBoxSizer( wxVERTICAL );
|
2021-10-10 12:52:37 +00:00
|
|
|
|
2017-12-18 23:25:34 +00:00
|
|
|
m_buttonRemap = new wxButton( this, wxID_ANY, _("Remap Symbols"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
bSizer3->Add( m_buttonRemap, 0, wxALL|wxEXPAND, 5 );
|
2021-10-10 12:52:37 +00:00
|
|
|
|
2017-11-11 10:35:06 +00:00
|
|
|
m_buttonClose = new wxButton( this, wxID_CANCEL, _("Close"), wxDefaultPosition, wxDefaultSize, 0 );
|
2017-03-09 23:33:39 +00:00
|
|
|
bSizer3->Add( m_buttonClose, 0, wxALL|wxEXPAND, 5 );
|
2021-10-10 12:52:37 +00:00
|
|
|
|
|
|
|
|
2017-03-09 23:33:39 +00:00
|
|
|
bSizer2->Add( bSizer3, 1, wxEXPAND, 5 );
|
2021-10-10 12:52:37 +00:00
|
|
|
|
|
|
|
|
2017-11-24 16:43:16 +00:00
|
|
|
bSizer1->Add( bSizer2, 3, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
|
2021-10-10 12:52:37 +00:00
|
|
|
|
2017-03-09 23:33:39 +00:00
|
|
|
wxBoxSizer* bSizer4;
|
|
|
|
bSizer4 = new wxBoxSizer( wxVERTICAL );
|
2021-10-10 12:52:37 +00:00
|
|
|
|
2017-03-09 23:33:39 +00:00
|
|
|
m_messagePanel = new WX_HTML_REPORT_PANEL( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
2017-11-11 10:35:06 +00:00
|
|
|
m_messagePanel->SetMinSize( wxSize( -1,200 ) );
|
2021-10-10 12:52:37 +00:00
|
|
|
|
2017-03-09 23:33:39 +00:00
|
|
|
bSizer4->Add( m_messagePanel, 1, wxEXPAND | wxALL, 5 );
|
2021-10-10 12:52:37 +00:00
|
|
|
|
|
|
|
|
2017-11-24 16:43:16 +00:00
|
|
|
bSizer1->Add( bSizer4, 5, wxEXPAND, 5 );
|
2021-10-10 12:52:37 +00:00
|
|
|
|
|
|
|
|
2017-03-09 23:33:39 +00:00
|
|
|
this->SetSizer( bSizer1 );
|
|
|
|
this->Layout();
|
|
|
|
bSizer1->Fit( this );
|
2021-10-10 12:52:37 +00:00
|
|
|
|
2017-03-09 23:33:39 +00:00
|
|
|
this->Centre( wxBOTH );
|
2021-10-10 12:52:37 +00:00
|
|
|
|
2017-03-09 23:33:39 +00:00
|
|
|
// Connect Events
|
2017-12-18 23:25:34 +00:00
|
|
|
m_buttonRemap->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SYMBOL_REMAP_BASE::OnRemapSymbols ), NULL, this );
|
|
|
|
m_buttonRemap->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_SYMBOL_REMAP_BASE::OnUpdateUIRemapButton ), NULL, this );
|
2017-03-09 23:33:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DIALOG_SYMBOL_REMAP_BASE::~DIALOG_SYMBOL_REMAP_BASE()
|
|
|
|
{
|
|
|
|
// Disconnect Events
|
2017-12-18 23:25:34 +00:00
|
|
|
m_buttonRemap->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SYMBOL_REMAP_BASE::OnRemapSymbols ), NULL, this );
|
|
|
|
m_buttonRemap->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_SYMBOL_REMAP_BASE::OnUpdateUIRemapButton ), NULL, this );
|
2021-10-10 12:52:37 +00:00
|
|
|
|
2017-03-09 23:33:39 +00:00
|
|
|
}
|