2016-08-11 12:41:42 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2016-08-20 15:25:51 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Jul 31 2016)
|
2016-08-11 12:41:42 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "dialog_signal_list_base.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2016-08-20 15:25:51 +00:00
|
|
|
DIALOG_SIGNAL_LIST_BASE::DIALOG_SIGNAL_LIST_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
|
2016-08-11 12:41:42 +00:00
|
|
|
{
|
2016-08-20 15:25:51 +00:00
|
|
|
this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
|
2016-08-11 12:41:42 +00:00
|
|
|
|
|
|
|
wxBoxSizer* bSizer6;
|
|
|
|
bSizer6 = new wxBoxSizer( wxVERTICAL );
|
|
|
|
|
2016-08-11 12:42:16 +00:00
|
|
|
m_signals = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, wxLB_EXTENDED|wxLB_NEEDED_SB|wxLB_SORT );
|
2016-08-20 15:25:51 +00:00
|
|
|
m_signals->SetMinSize( wxSize( 450,400 ) );
|
|
|
|
|
2016-08-11 12:41:42 +00:00
|
|
|
bSizer6->Add( m_signals, 1, wxALL|wxEXPAND, 5 );
|
|
|
|
|
|
|
|
m_sdbSizer = new wxStdDialogButtonSizer();
|
|
|
|
m_sdbSizerOK = new wxButton( this, wxID_OK );
|
|
|
|
m_sdbSizer->AddButton( m_sdbSizerOK );
|
|
|
|
m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
|
|
|
|
m_sdbSizer->AddButton( m_sdbSizerCancel );
|
|
|
|
m_sdbSizer->Realize();
|
|
|
|
|
2016-08-20 15:25:51 +00:00
|
|
|
bSizer6->Add( m_sdbSizer, 0, wxEXPAND|wxALL, 5 );
|
2016-08-11 12:41:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
this->SetSizer( bSizer6 );
|
|
|
|
this->Layout();
|
|
|
|
|
|
|
|
this->Centre( wxBOTH );
|
|
|
|
|
|
|
|
// Connect Events
|
|
|
|
m_signals->Connect( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEventHandler( DIALOG_SIGNAL_LIST_BASE::onSignalAdd ), NULL, this );
|
|
|
|
}
|
|
|
|
|
|
|
|
DIALOG_SIGNAL_LIST_BASE::~DIALOG_SIGNAL_LIST_BASE()
|
|
|
|
{
|
|
|
|
// Disconnect Events
|
|
|
|
m_signals->Disconnect( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEventHandler( DIALOG_SIGNAL_LIST_BASE::onSignalAdd ), NULL, this );
|
|
|
|
|
|
|
|
}
|