2015-03-27 10:26:07 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2017-12-26 14:38:45 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Nov 22 2017)
|
2015-03-27 10:26:07 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-12-26 14:38:45 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2015-03-27 10:26:07 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "dialog_lib_edit_pin_table_base.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
DIALOG_LIB_EDIT_PIN_TABLE_BASE::DIALOG_LIB_EDIT_PIN_TABLE_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 );
|
|
|
|
|
|
|
|
wxBoxSizer* top_sizer;
|
|
|
|
top_sizer = new wxBoxSizer( wxVERTICAL );
|
|
|
|
|
2015-07-06 16:06:54 +00:00
|
|
|
m_Pins = new wxDataViewCtrl( this, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxDV_HORIZ_RULES|wxDV_MULTIPLE|wxDV_ROW_LINES|wxDV_VERT_RULES );
|
2017-12-26 14:38:45 +00:00
|
|
|
m_Pins->SetMinSize( wxSize( 400,300 ) );
|
2015-03-27 10:26:07 +00:00
|
|
|
|
|
|
|
top_sizer->Add( m_Pins, 1, wxALL|wxEXPAND, 5 );
|
|
|
|
|
2016-01-13 19:17:54 +00:00
|
|
|
m_Summary = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY|wxNO_BORDER );
|
|
|
|
top_sizer->Add( m_Summary, 0, wxALL|wxEXPAND, 5 );
|
|
|
|
|
2015-03-27 10:26:07 +00:00
|
|
|
m_Buttons = new wxStdDialogButtonSizer();
|
|
|
|
m_ButtonsOK = new wxButton( this, wxID_OK );
|
|
|
|
m_Buttons->AddButton( m_ButtonsOK );
|
|
|
|
m_Buttons->Realize();
|
|
|
|
|
|
|
|
top_sizer->Add( m_Buttons, 0, wxEXPAND|wxALL, 5 );
|
|
|
|
|
|
|
|
|
|
|
|
this->SetSizer( top_sizer );
|
|
|
|
this->Layout();
|
2017-12-26 14:38:45 +00:00
|
|
|
top_sizer->Fit( this );
|
2015-03-27 10:26:07 +00:00
|
|
|
|
|
|
|
this->Centre( wxBOTH );
|
|
|
|
|
|
|
|
// Connect Events
|
2017-12-26 14:38:45 +00:00
|
|
|
m_Pins->Connect( wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK, wxDataViewEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnColumnHeaderRightClicked ), NULL, this );
|
2015-03-27 10:26:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DIALOG_LIB_EDIT_PIN_TABLE_BASE::~DIALOG_LIB_EDIT_PIN_TABLE_BASE()
|
|
|
|
{
|
|
|
|
// Disconnect Events
|
2017-12-26 14:38:45 +00:00
|
|
|
m_Pins->Disconnect( wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK, wxDataViewEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnColumnHeaderRightClicked ), NULL, this );
|
2015-03-27 10:26:07 +00:00
|
|
|
|
|
|
|
}
|