2015-03-27 10:26:07 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2022-12-13 20:47:28 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
|
2015-03-27 10:26:07 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2020-08-17 22:34:02 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2015-03-27 10:26:07 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2022-03-26 11:05:10 +00:00
|
|
|
#include "widgets/bitmap_button.h"
|
2022-12-13 20:47:28 +00:00
|
|
|
#include "widgets/std_bitmap_button.h"
|
2018-05-30 10:52:19 +00:00
|
|
|
#include "widgets/wx_grid.h"
|
|
|
|
|
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 );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2015-03-27 10:26:07 +00:00
|
|
|
wxBoxSizer* top_sizer;
|
|
|
|
top_sizer = new wxBoxSizer( wxVERTICAL );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2022-03-26 11:05:10 +00:00
|
|
|
wxBoxSizer* bSummarySizer;
|
|
|
|
bSummarySizer = new wxBoxSizer( wxHORIZONTAL );
|
2022-03-25 14:56:51 +00:00
|
|
|
|
|
|
|
m_staticTextPinNumbers = new wxStaticText( this, wxID_ANY, _("Pin numbers:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticTextPinNumbers->Wrap( -1 );
|
2022-03-26 11:05:10 +00:00
|
|
|
bSummarySizer->Add( m_staticTextPinNumbers, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
|
2022-03-25 14:56:51 +00:00
|
|
|
|
|
|
|
m_pin_numbers_summary = new wxStaticText( this, wxID_ANY, _("0"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_pin_numbers_summary->Wrap( -1 );
|
2022-03-26 11:05:10 +00:00
|
|
|
bSummarySizer->Add( m_pin_numbers_summary, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
|
2022-03-25 14:56:51 +00:00
|
|
|
|
|
|
|
|
2022-03-26 11:05:10 +00:00
|
|
|
bSummarySizer->Add( 0, 0, 1, wxEXPAND, 5 );
|
2022-03-25 14:56:51 +00:00
|
|
|
|
|
|
|
m_staticTextPinCount = new wxStaticText( this, wxID_ANY, _("Pin count:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticTextPinCount->Wrap( -1 );
|
2022-03-26 11:05:10 +00:00
|
|
|
bSummarySizer->Add( m_staticTextPinCount, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 10 );
|
2022-03-25 14:56:51 +00:00
|
|
|
|
|
|
|
m_pin_count = new wxStaticText( this, wxID_ANY, _("0"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_pin_count->Wrap( -1 );
|
2022-03-26 11:05:10 +00:00
|
|
|
bSummarySizer->Add( m_pin_count, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
|
2022-03-25 14:56:51 +00:00
|
|
|
|
|
|
|
|
2022-03-26 11:05:10 +00:00
|
|
|
bSummarySizer->Add( 0, 0, 1, wxEXPAND, 5 );
|
2022-03-25 14:56:51 +00:00
|
|
|
|
2022-03-26 11:05:10 +00:00
|
|
|
m_staticTextDuplicatePins = new wxStaticText( this, wxID_ANY, _("Duplicate pins:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticTextDuplicatePins->Wrap( -1 );
|
|
|
|
bSummarySizer->Add( m_staticTextDuplicatePins, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 10 );
|
|
|
|
|
|
|
|
m_duplicate_pins = new wxStaticText( this, wxID_ANY, _("0"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_duplicate_pins->Wrap( -1 );
|
|
|
|
bSummarySizer->Add( m_duplicate_pins, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
|
2022-03-25 14:56:51 +00:00
|
|
|
|
|
|
|
|
2022-03-26 11:05:10 +00:00
|
|
|
top_sizer->Add( bSummarySizer, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 10 );
|
|
|
|
|
|
|
|
wxBoxSizer* bGridMarginsSizer;
|
|
|
|
bGridMarginsSizer = new wxBoxSizer( wxVERTICAL );
|
2022-03-25 14:56:51 +00:00
|
|
|
|
2020-08-21 15:54:24 +00:00
|
|
|
m_grid = new WX_GRID( this, wxID_ANY, wxDefaultPosition, wxSize( 800,400 ), 0 );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2018-02-08 12:16:07 +00:00
|
|
|
// Grid
|
2022-03-25 14:56:51 +00:00
|
|
|
m_grid->CreateGrid( 5, 14 );
|
2018-02-08 12:16:07 +00:00
|
|
|
m_grid->EnableEditing( true );
|
|
|
|
m_grid->EnableGridLines( true );
|
|
|
|
m_grid->EnableDragGridSize( false );
|
|
|
|
m_grid->SetMargins( 0, 0 );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2018-02-08 12:16:07 +00:00
|
|
|
// Columns
|
2021-04-22 04:50:14 +00:00
|
|
|
m_grid->SetColSize( 0, 60 );
|
|
|
|
m_grid->SetColSize( 1, 66 );
|
|
|
|
m_grid->SetColSize( 2, 84 );
|
2018-02-08 12:16:07 +00:00
|
|
|
m_grid->SetColSize( 3, 140 );
|
2021-04-22 04:50:14 +00:00
|
|
|
m_grid->SetColSize( 4, 140 );
|
|
|
|
m_grid->SetColSize( 5, 100 );
|
2018-02-08 12:16:07 +00:00
|
|
|
m_grid->SetColSize( 6, 110 );
|
2021-04-22 04:50:14 +00:00
|
|
|
m_grid->SetColSize( 7, 110 );
|
2018-02-08 12:16:07 +00:00
|
|
|
m_grid->SetColSize( 8, 84 );
|
|
|
|
m_grid->SetColSize( 9, 84 );
|
2021-01-14 21:03:51 +00:00
|
|
|
m_grid->SetColSize( 10, 84 );
|
2021-04-22 04:50:14 +00:00
|
|
|
m_grid->SetColSize( 11, 84 );
|
2021-04-25 17:41:20 +00:00
|
|
|
m_grid->SetColSize( 12, 66 );
|
2018-02-08 12:16:07 +00:00
|
|
|
m_grid->EnableDragColMove( false );
|
|
|
|
m_grid->EnableDragColSize( true );
|
2021-04-22 04:50:14 +00:00
|
|
|
m_grid->SetColLabelValue( 0, _("Count") );
|
|
|
|
m_grid->SetColLabelValue( 1, _("Number") );
|
|
|
|
m_grid->SetColLabelValue( 2, _("Name") );
|
|
|
|
m_grid->SetColLabelValue( 3, _("Electrical Type") );
|
|
|
|
m_grid->SetColLabelValue( 4, _("Graphic Style") );
|
|
|
|
m_grid->SetColLabelValue( 5, _("Orientation") );
|
|
|
|
m_grid->SetColLabelValue( 6, _("Number Text Size") );
|
|
|
|
m_grid->SetColLabelValue( 7, _("Name Text Size") );
|
|
|
|
m_grid->SetColLabelValue( 8, _("Length") );
|
|
|
|
m_grid->SetColLabelValue( 9, _("X Position") );
|
|
|
|
m_grid->SetColLabelValue( 10, _("Y Position") );
|
|
|
|
m_grid->SetColLabelValue( 11, _("Visible") );
|
2021-04-25 17:41:20 +00:00
|
|
|
m_grid->SetColLabelValue( 12, _("Unit") );
|
2022-03-25 14:56:51 +00:00
|
|
|
m_grid->SetColLabelValue( 13, _("De Morgan") );
|
2022-12-13 20:47:28 +00:00
|
|
|
m_grid->SetColLabelSize( 24 );
|
2020-08-17 22:34:02 +00:00
|
|
|
m_grid->SetColLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
|
|
|
|
|
2018-02-08 12:16:07 +00:00
|
|
|
// Rows
|
|
|
|
m_grid->EnableDragRowSize( false );
|
|
|
|
m_grid->SetRowLabelSize( 0 );
|
2020-08-17 22:34:02 +00:00
|
|
|
m_grid->SetRowLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
|
|
|
|
|
2018-02-08 12:16:07 +00:00
|
|
|
// Label Appearance
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2018-02-08 12:16:07 +00:00
|
|
|
// Cell Defaults
|
|
|
|
m_grid->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_TOP );
|
2020-08-21 15:54:24 +00:00
|
|
|
m_grid->SetMinSize( wxSize( 690,200 ) );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2022-03-26 11:05:10 +00:00
|
|
|
bGridMarginsSizer->Add( m_grid, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 10 );
|
2022-03-25 14:56:51 +00:00
|
|
|
|
|
|
|
|
2022-03-26 11:05:10 +00:00
|
|
|
top_sizer->Add( bGridMarginsSizer, 1, wxEXPAND|wxRIGHT|wxLEFT, 5 );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2022-03-26 11:05:10 +00:00
|
|
|
wxBoxSizer* bBottomSizer;
|
|
|
|
bBottomSizer = new wxBoxSizer( wxHORIZONTAL );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2022-03-26 19:54:57 +00:00
|
|
|
wxBoxSizer* bSizer5;
|
|
|
|
bSizer5 = new wxBoxSizer( wxHORIZONTAL );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2022-12-13 20:47:28 +00:00
|
|
|
m_addButton = new STD_BITMAP_BUTTON( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
|
2022-03-26 19:54:57 +00:00
|
|
|
bSizer5->Add( m_addButton, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2022-12-13 20:47:28 +00:00
|
|
|
m_deleteButton = new STD_BITMAP_BUTTON( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
|
2022-03-26 19:54:57 +00:00
|
|
|
bSizer5->Add( m_deleteButton, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 10 );
|
2022-03-26 11:05:10 +00:00
|
|
|
|
|
|
|
m_divider1 = new BITMAP_BUTTON( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
|
|
|
|
m_divider1->Enable( false );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2022-03-26 19:54:57 +00:00
|
|
|
bSizer5->Add( m_divider1, 0, wxEXPAND|wxALL, 4 );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2018-02-08 12:16:07 +00:00
|
|
|
m_cbGroup = new wxCheckBox( this, wxID_ANY, _("Group by name"), wxDefaultPosition, wxDefaultSize, 0 );
|
2022-03-26 19:54:57 +00:00
|
|
|
bSizer5->Add( m_cbGroup, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
|
|
|
|
|
|
|
|
m_groupSelected = new wxButton( this, wxID_ANY, _("Group Selected"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
bSizer5->Add( m_groupSelected, 0, wxALL|wxALIGN_CENTER_VERTICAL, 7 );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2022-12-13 20:47:28 +00:00
|
|
|
m_refreshButton = new STD_BITMAP_BUTTON( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
|
2022-03-26 19:54:57 +00:00
|
|
|
bSizer5->Add( m_refreshButton, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 10 );
|
2021-04-19 04:44:13 +00:00
|
|
|
|
2022-03-26 11:05:10 +00:00
|
|
|
m_divider2 = new BITMAP_BUTTON( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
|
|
|
|
m_divider2->Enable( false );
|
2021-04-19 04:44:13 +00:00
|
|
|
|
2022-03-26 19:54:57 +00:00
|
|
|
bSizer5->Add( m_divider2, 0, wxEXPAND|wxALL, 4 );
|
2021-04-19 04:44:13 +00:00
|
|
|
|
2022-03-26 11:05:10 +00:00
|
|
|
m_cbFilterByUnit = new wxCheckBox( this, wxID_ANY, _("Filter by unit:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2022-03-26 19:54:57 +00:00
|
|
|
bSizer5->Add( m_cbFilterByUnit, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM, 5 );
|
2021-04-19 04:44:13 +00:00
|
|
|
|
2022-03-26 11:05:10 +00:00
|
|
|
wxArrayString m_unitFilterChoices;
|
|
|
|
m_unitFilter = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_unitFilterChoices, 0 );
|
|
|
|
m_unitFilter->SetSelection( 0 );
|
2022-03-26 19:54:57 +00:00
|
|
|
bSizer5->Add( m_unitFilter, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
|
|
|
|
|
|
|
|
|
|
|
|
bBottomSizer->Add( bSizer5, 0, wxEXPAND|wxTOP|wxBOTTOM|wxRIGHT, 5 );
|
2020-08-21 15:54:24 +00:00
|
|
|
|
|
|
|
|
2022-03-26 11:05:10 +00:00
|
|
|
bBottomSizer->Add( 30, 0, 1, wxEXPAND, 5 );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2015-03-27 10:26:07 +00:00
|
|
|
m_Buttons = new wxStdDialogButtonSizer();
|
|
|
|
m_ButtonsOK = new wxButton( this, wxID_OK );
|
|
|
|
m_Buttons->AddButton( m_ButtonsOK );
|
2018-02-08 12:16:07 +00:00
|
|
|
m_ButtonsCancel = new wxButton( this, wxID_CANCEL );
|
|
|
|
m_Buttons->AddButton( m_ButtonsCancel );
|
2015-03-27 10:26:07 +00:00
|
|
|
m_Buttons->Realize();
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2022-03-26 11:05:10 +00:00
|
|
|
bBottomSizer->Add( m_Buttons, 0, wxEXPAND|wxALL, 5 );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
|
|
|
|
2022-03-26 11:05:10 +00:00
|
|
|
top_sizer->Add( bBottomSizer, 0, wxLEFT|wxEXPAND, 10 );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
|
|
|
|
2015-03-27 10:26:07 +00:00
|
|
|
this->SetSizer( top_sizer );
|
|
|
|
this->Layout();
|
2017-12-26 14:38:45 +00:00
|
|
|
top_sizer->Fit( this );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2015-03-27 10:26:07 +00:00
|
|
|
this->Centre( wxBOTH );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2015-03-27 10:26:07 +00:00
|
|
|
// Connect Events
|
2018-11-16 15:10:53 +00:00
|
|
|
this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnClose ) );
|
2018-02-08 12:16:07 +00:00
|
|
|
this->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnUpdateUI ) );
|
|
|
|
m_grid->Connect( wxEVT_GRID_CELL_CHANGED, wxGridEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnCellEdited ), NULL, this );
|
2023-06-07 11:46:10 +00:00
|
|
|
m_grid->Connect( wxEVT_GRID_CELL_LEFT_CLICK, wxGridEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnCellSelected ), NULL, this );
|
|
|
|
m_grid->Connect( wxEVT_GRID_EDITOR_SHOWN, wxGridEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnCellSelected ), NULL, this );
|
2018-02-08 12:16:07 +00:00
|
|
|
m_grid->Connect( wxEVT_SIZE, wxSizeEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnSize ), NULL, this );
|
|
|
|
m_addButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnAddRow ), NULL, this );
|
|
|
|
m_deleteButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnDeleteRow ), NULL, this );
|
|
|
|
m_cbGroup->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnRebuildRows ), NULL, this );
|
2022-03-26 19:54:57 +00:00
|
|
|
m_groupSelected->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnGroupSelected ), NULL, this );
|
2018-02-08 12:16:07 +00:00
|
|
|
m_refreshButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnRebuildRows ), NULL, this );
|
2022-03-26 11:05:10 +00:00
|
|
|
m_cbFilterByUnit->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnFilterCheckBox ), NULL, this );
|
|
|
|
m_unitFilter->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnFilterChoice ), NULL, this );
|
2018-11-16 15:10:53 +00:00
|
|
|
m_ButtonsCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnCancel ), NULL, this );
|
2015-03-27 10:26:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DIALOG_LIB_EDIT_PIN_TABLE_BASE::~DIALOG_LIB_EDIT_PIN_TABLE_BASE()
|
|
|
|
{
|
|
|
|
// Disconnect Events
|
2018-11-16 15:10:53 +00:00
|
|
|
this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnClose ) );
|
2018-02-08 12:16:07 +00:00
|
|
|
this->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnUpdateUI ) );
|
|
|
|
m_grid->Disconnect( wxEVT_GRID_CELL_CHANGED, wxGridEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnCellEdited ), NULL, this );
|
2023-06-07 11:46:10 +00:00
|
|
|
m_grid->Disconnect( wxEVT_GRID_CELL_LEFT_CLICK, wxGridEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnCellSelected ), NULL, this );
|
|
|
|
m_grid->Disconnect( wxEVT_GRID_EDITOR_SHOWN, wxGridEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnCellSelected ), NULL, this );
|
2018-02-08 12:16:07 +00:00
|
|
|
m_grid->Disconnect( wxEVT_SIZE, wxSizeEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnSize ), NULL, this );
|
|
|
|
m_addButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnAddRow ), NULL, this );
|
|
|
|
m_deleteButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnDeleteRow ), NULL, this );
|
|
|
|
m_cbGroup->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnRebuildRows ), NULL, this );
|
2022-03-26 19:54:57 +00:00
|
|
|
m_groupSelected->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnGroupSelected ), NULL, this );
|
2018-02-08 12:16:07 +00:00
|
|
|
m_refreshButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnRebuildRows ), NULL, this );
|
2022-03-26 11:05:10 +00:00
|
|
|
m_cbFilterByUnit->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnFilterCheckBox ), NULL, this );
|
|
|
|
m_unitFilter->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnFilterChoice ), NULL, this );
|
2018-11-16 15:10:53 +00:00
|
|
|
m_ButtonsCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_LIB_EDIT_PIN_TABLE_BASE::OnCancel ), NULL, this );
|
2020-08-17 22:34:02 +00:00
|
|
|
|
2015-03-27 10:26:07 +00:00
|
|
|
}
|