2020-07-11 17:42:00 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2020-08-20 01:11:22 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
2020-07-11 17:42:00 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2020-09-19 23:41:26 +00:00
|
|
|
#include "widgets/bitmap_button.h"
|
2020-09-04 17:42:04 +00:00
|
|
|
#include "widgets/wx_grid.h"
|
|
|
|
|
2020-07-11 17:42:00 +00:00
|
|
|
#include "appearance_controls_base.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name )
|
|
|
|
{
|
2020-08-15 22:26:37 +00:00
|
|
|
this->SetFont( wxFont( 10, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxEmptyString ) );
|
2020-09-04 17:42:04 +00:00
|
|
|
this->SetMinSize( wxSize( 200,360 ) );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
m_sizerOuter = new wxBoxSizer( wxVERTICAL );
|
|
|
|
|
|
|
|
m_notebook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_panelLayers = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
|
|
|
m_panelLayersSizer = new wxBoxSizer( wxVERTICAL );
|
|
|
|
|
2020-08-19 01:55:45 +00:00
|
|
|
m_windowLayers = new wxScrolledCanvas( m_panelLayers, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxVSCROLL );
|
|
|
|
m_panelLayersSizer->Add( m_windowLayers, 1, wxEXPAND, 5 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
m_panelLayers->SetSizer( m_panelLayersSizer );
|
|
|
|
m_panelLayers->Layout();
|
|
|
|
m_panelLayersSizer->Fit( m_panelLayers );
|
2020-08-16 21:07:21 +00:00
|
|
|
m_notebook->AddPage( m_panelLayers, wxT("Layers"), true );
|
2020-07-11 17:42:00 +00:00
|
|
|
m_panelObjects = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
|
|
|
m_panelObjects->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );
|
|
|
|
|
|
|
|
m_objectsPanelSizer = new wxBoxSizer( wxVERTICAL );
|
|
|
|
|
2020-08-19 01:55:45 +00:00
|
|
|
m_windowObjects = new wxScrolledCanvas( m_panelObjects, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxVSCROLL );
|
2020-08-15 22:26:37 +00:00
|
|
|
m_objectsPanelSizer->Add( m_windowObjects, 1, wxEXPAND, 5 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
m_panelObjects->SetSizer( m_objectsPanelSizer );
|
|
|
|
m_panelObjects->Layout();
|
|
|
|
m_objectsPanelSizer->Fit( m_panelObjects );
|
|
|
|
m_notebook->AddPage( m_panelObjects, wxT("Objects"), false );
|
|
|
|
m_panelNetsAndClasses = new wxPanel( m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
2020-09-05 01:45:33 +00:00
|
|
|
m_netsTabOuterSizer = new wxBoxSizer( wxVERTICAL );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
m_netsTabSplitter = new wxSplitterWindow( m_panelNetsAndClasses, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D|wxSP_LIVE_UPDATE );
|
|
|
|
m_netsTabSplitter->SetSashGravity( 0.8 );
|
|
|
|
m_netsTabSplitter->Connect( wxEVT_IDLE, wxIdleEventHandler( APPEARANCE_CONTROLS_BASE::m_netsTabSplitterOnIdle ), NULL, this );
|
|
|
|
m_netsTabSplitter->SetMinimumPaneSize( 80 );
|
|
|
|
|
|
|
|
m_panelNets = new wxPanel( m_netsTabSplitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
|
|
|
wxBoxSizer* bSizer192;
|
|
|
|
bSizer192 = new wxBoxSizer( wxVERTICAL );
|
|
|
|
|
|
|
|
wxBoxSizer* bSizer17;
|
|
|
|
bSizer17 = new wxBoxSizer( wxHORIZONTAL );
|
|
|
|
|
2020-08-22 11:26:00 +00:00
|
|
|
m_staticTextNets = new wxStaticText( m_panelNets, wxID_ANY, wxT("Nets"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticTextNets->Wrap( -1 );
|
|
|
|
m_staticTextNets->SetFont( wxFont( 9, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
2020-08-22 11:26:00 +00:00
|
|
|
bSizer17->Add( m_staticTextNets, 1, wxALL, 5 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
m_txtNetFilter = new wxTextCtrl( m_panelNets, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_txtNetFilter->Hide();
|
|
|
|
|
2020-08-22 11:26:00 +00:00
|
|
|
bSizer17->Add( m_txtNetFilter, 1, wxLEFT|wxTOP, 5 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
2020-09-19 23:41:26 +00:00
|
|
|
m_btnNetInspector = new BITMAP_BUTTON( m_panelNets, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
|
2020-07-11 17:42:00 +00:00
|
|
|
m_btnNetInspector->SetToolTip( wxT("Show the Net Inspector") );
|
|
|
|
|
2020-08-22 11:26:00 +00:00
|
|
|
bSizer17->Add( m_btnNetInspector, 0, wxLEFT|wxRIGHT|wxTOP, 5 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
bSizer192->Add( bSizer17, 0, wxEXPAND, 5 );
|
|
|
|
|
2020-09-04 17:42:04 +00:00
|
|
|
m_netsGrid = new WX_GRID( m_panelNets, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
2020-08-20 01:11:22 +00:00
|
|
|
// Grid
|
|
|
|
m_netsGrid->CreateGrid( 5, 3 );
|
|
|
|
m_netsGrid->EnableEditing( false );
|
|
|
|
m_netsGrid->EnableGridLines( false );
|
|
|
|
m_netsGrid->EnableDragGridSize( false );
|
|
|
|
m_netsGrid->SetMargins( 0, 0 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
2020-08-20 01:11:22 +00:00
|
|
|
// Columns
|
2020-09-04 17:42:04 +00:00
|
|
|
m_netsGrid->SetColSize( 0, 40 );
|
|
|
|
m_netsGrid->SetColSize( 1, 40 );
|
|
|
|
m_netsGrid->SetColSize( 2, 400 );
|
2020-08-20 01:11:22 +00:00
|
|
|
m_netsGrid->EnableDragColMove( false );
|
|
|
|
m_netsGrid->EnableDragColSize( false );
|
|
|
|
m_netsGrid->SetColLabelSize( 0 );
|
|
|
|
m_netsGrid->SetColLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
|
|
|
|
|
|
|
|
// Rows
|
|
|
|
m_netsGrid->EnableDragRowSize( false );
|
|
|
|
m_netsGrid->SetRowLabelSize( 0 );
|
|
|
|
m_netsGrid->SetRowLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
|
|
|
|
|
|
|
|
// Label Appearance
|
|
|
|
|
|
|
|
// Cell Defaults
|
|
|
|
m_netsGrid->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_TOP );
|
2020-09-04 17:42:04 +00:00
|
|
|
bSizer192->Add( m_netsGrid, 0, wxALL|wxEXPAND, 5 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
m_panelNets->SetSizer( bSizer192 );
|
|
|
|
m_panelNets->Layout();
|
|
|
|
bSizer192->Fit( m_panelNets );
|
|
|
|
m_panelNetclasses = new wxPanel( m_netsTabSplitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
2020-08-22 11:26:00 +00:00
|
|
|
wxBoxSizer* bSizerNetClasses;
|
|
|
|
bSizerNetClasses = new wxBoxSizer( wxVERTICAL );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
wxBoxSizer* bSizer20;
|
|
|
|
bSizer20 = new wxBoxSizer( wxHORIZONTAL );
|
|
|
|
|
|
|
|
m_staticText14 = new wxStaticText( m_panelNetclasses, wxID_ANY, wxT("Net Classes"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticText14->Wrap( -1 );
|
|
|
|
m_staticText14->SetFont( wxFont( 9, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
|
|
|
|
|
2020-08-22 11:26:00 +00:00
|
|
|
bSizer20->Add( m_staticText14, 1, wxALL, 5 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
2020-09-19 23:41:26 +00:00
|
|
|
m_btnConfigureNetClasses = new BITMAP_BUTTON( m_panelNetclasses, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
|
2020-07-11 17:42:00 +00:00
|
|
|
m_btnConfigureNetClasses->SetToolTip( wxT("Configure net classes") );
|
|
|
|
|
2020-09-19 23:41:26 +00:00
|
|
|
bSizer20->Add( m_btnConfigureNetClasses, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxTOP, 5 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
|
2020-08-22 11:26:00 +00:00
|
|
|
bSizerNetClasses->Add( bSizer20, 0, wxEXPAND, 5 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
2020-08-29 20:08:26 +00:00
|
|
|
m_netclassScrolledWindow = new wxScrolledWindow( m_panelNetclasses, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxVSCROLL );
|
2020-07-11 17:42:00 +00:00
|
|
|
m_netclassScrolledWindow->SetScrollRate( 5, 5 );
|
|
|
|
m_netclassOuterSizer = new wxBoxSizer( wxVERTICAL );
|
|
|
|
|
|
|
|
|
|
|
|
m_netclassScrolledWindow->SetSizer( m_netclassOuterSizer );
|
|
|
|
m_netclassScrolledWindow->Layout();
|
|
|
|
m_netclassOuterSizer->Fit( m_netclassScrolledWindow );
|
2020-08-22 11:26:00 +00:00
|
|
|
bSizerNetClasses->Add( m_netclassScrolledWindow, 1, wxEXPAND | wxALL, 5 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
|
2020-08-22 11:26:00 +00:00
|
|
|
m_panelNetclasses->SetSizer( bSizerNetClasses );
|
2020-07-11 17:42:00 +00:00
|
|
|
m_panelNetclasses->Layout();
|
2020-08-22 11:26:00 +00:00
|
|
|
bSizerNetClasses->Fit( m_panelNetclasses );
|
2020-07-11 17:42:00 +00:00
|
|
|
m_netsTabSplitter->SplitHorizontally( m_panelNets, m_panelNetclasses, 300 );
|
2020-09-05 01:45:33 +00:00
|
|
|
m_netsTabOuterSizer->Add( m_netsTabSplitter, 1, wxEXPAND, 5 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
|
2020-09-05 01:45:33 +00:00
|
|
|
m_panelNetsAndClasses->SetSizer( m_netsTabOuterSizer );
|
2020-07-11 17:42:00 +00:00
|
|
|
m_panelNetsAndClasses->Layout();
|
2020-09-05 01:45:33 +00:00
|
|
|
m_netsTabOuterSizer->Fit( m_panelNetsAndClasses );
|
2020-08-16 21:07:21 +00:00
|
|
|
m_notebook->AddPage( m_panelNetsAndClasses, wxT("Nets"), false );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
2020-08-15 22:26:37 +00:00
|
|
|
m_sizerOuter->Add( m_notebook, 1, wxEXPAND, 5 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
2020-08-19 10:31:20 +00:00
|
|
|
wxBoxSizer* bBottomMargin;
|
|
|
|
bBottomMargin = new wxBoxSizer( wxVERTICAL );
|
2020-08-16 21:07:21 +00:00
|
|
|
|
2020-08-19 10:31:20 +00:00
|
|
|
wxBoxSizer* bPresets;
|
|
|
|
bPresets = new wxBoxSizer( wxVERTICAL );
|
2020-08-16 21:07:21 +00:00
|
|
|
|
2020-08-19 10:31:20 +00:00
|
|
|
wxBoxSizer* bPresetsLabels;
|
|
|
|
bPresetsLabels = new wxBoxSizer( wxHORIZONTAL );
|
|
|
|
|
|
|
|
presetsLabel = new wxStaticText( this, wxID_ANY, wxT("Presets:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
presetsLabel->Wrap( -1 );
|
2020-09-04 16:44:05 +00:00
|
|
|
bPresetsLabels->Add( presetsLabel, 1, wxRIGHT|wxLEFT, 2 );
|
2020-08-19 10:31:20 +00:00
|
|
|
|
2020-09-02 01:27:57 +00:00
|
|
|
presetsHotkey = new wxStaticText( this, wxID_ANY, wxT("(Ctrl+Tab)"), wxDefaultPosition, wxDefaultSize, 0 );
|
2020-08-19 10:31:20 +00:00
|
|
|
presetsHotkey->Wrap( -1 );
|
2020-09-04 16:44:05 +00:00
|
|
|
bPresetsLabels->Add( presetsHotkey, 0, wxRIGHT|wxLEFT, 2 );
|
2020-08-19 10:31:20 +00:00
|
|
|
|
|
|
|
|
2020-09-04 16:44:05 +00:00
|
|
|
bPresets->Add( bPresetsLabels, 1, wxEXPAND|wxTOP, 7 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
wxString m_cbLayerPresetsChoices[] = { wxT("All Layers"), wxT("(unsaved)") };
|
|
|
|
int m_cbLayerPresetsNChoices = sizeof( m_cbLayerPresetsChoices ) / sizeof( wxString );
|
2020-08-16 21:07:21 +00:00
|
|
|
m_cbLayerPresets = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_cbLayerPresetsNChoices, m_cbLayerPresetsChoices, 0 );
|
2020-07-11 17:42:00 +00:00
|
|
|
m_cbLayerPresets->SetSelection( 1 );
|
2020-08-16 18:50:48 +00:00
|
|
|
m_cbLayerPresets->SetToolTip( wxT("Layer presets") );
|
|
|
|
|
2020-08-22 11:26:00 +00:00
|
|
|
bPresets->Add( m_cbLayerPresets, 0, wxALL|wxEXPAND, 2 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
|
2020-08-19 10:31:20 +00:00
|
|
|
bBottomMargin->Add( bPresets, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
|
2020-08-23 23:41:14 +00:00
|
|
|
m_sizerOuter->Add( bBottomMargin, 0, wxBOTTOM|wxEXPAND, 2 );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
this->SetSizer( m_sizerOuter );
|
|
|
|
this->Layout();
|
|
|
|
|
|
|
|
// Connect Events
|
2020-08-19 01:55:45 +00:00
|
|
|
this->Connect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ) );
|
2020-08-20 01:11:22 +00:00
|
|
|
this->Connect( wxEVT_SIZE, wxSizeEventHandler( APPEARANCE_CONTROLS_BASE::OnSize ) );
|
2020-07-11 17:42:00 +00:00
|
|
|
m_notebook->Connect( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxNotebookEventHandler( APPEARANCE_CONTROLS_BASE::OnNotebookPageChanged ), NULL, this );
|
2020-08-19 01:55:45 +00:00
|
|
|
m_notebook->Connect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ), NULL, this );
|
|
|
|
m_panelLayers->Connect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ), NULL, this );
|
|
|
|
m_panelObjects->Connect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ), NULL, this );
|
|
|
|
m_panelNetsAndClasses->Connect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ), NULL, this );
|
|
|
|
m_panelNets->Connect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ), NULL, this );
|
2020-08-20 01:11:22 +00:00
|
|
|
m_netsGrid->Connect( wxEVT_GRID_CELL_LEFT_CLICK, wxGridEventHandler( APPEARANCE_CONTROLS_BASE::OnNetGridClick ), NULL, this );
|
|
|
|
m_netsGrid->Connect( wxEVT_GRID_CELL_LEFT_DCLICK, wxGridEventHandler( APPEARANCE_CONTROLS_BASE::OnNetGridDoubleClick ), NULL, this );
|
|
|
|
m_netsGrid->Connect( wxEVT_GRID_CELL_RIGHT_CLICK, wxGridEventHandler( APPEARANCE_CONTROLS_BASE::OnNetGridRightClick ), NULL, this );
|
|
|
|
m_netsGrid->Connect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ), NULL, this );
|
2020-08-19 01:55:45 +00:00
|
|
|
m_panelNetclasses->Connect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ), NULL, this );
|
2020-08-16 21:07:21 +00:00
|
|
|
m_cbLayerPresets->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( APPEARANCE_CONTROLS_BASE::onLayerPresetChanged ), NULL, this );
|
2020-07-11 17:42:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
APPEARANCE_CONTROLS_BASE::~APPEARANCE_CONTROLS_BASE()
|
|
|
|
{
|
|
|
|
// Disconnect Events
|
2020-08-19 01:55:45 +00:00
|
|
|
this->Disconnect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ) );
|
2020-08-20 01:11:22 +00:00
|
|
|
this->Disconnect( wxEVT_SIZE, wxSizeEventHandler( APPEARANCE_CONTROLS_BASE::OnSize ) );
|
2020-07-11 17:42:00 +00:00
|
|
|
m_notebook->Disconnect( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxNotebookEventHandler( APPEARANCE_CONTROLS_BASE::OnNotebookPageChanged ), NULL, this );
|
2020-08-19 01:55:45 +00:00
|
|
|
m_notebook->Disconnect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ), NULL, this );
|
|
|
|
m_panelLayers->Disconnect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ), NULL, this );
|
|
|
|
m_panelObjects->Disconnect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ), NULL, this );
|
|
|
|
m_panelNetsAndClasses->Disconnect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ), NULL, this );
|
|
|
|
m_panelNets->Disconnect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ), NULL, this );
|
2020-08-20 01:11:22 +00:00
|
|
|
m_netsGrid->Disconnect( wxEVT_GRID_CELL_LEFT_CLICK, wxGridEventHandler( APPEARANCE_CONTROLS_BASE::OnNetGridClick ), NULL, this );
|
|
|
|
m_netsGrid->Disconnect( wxEVT_GRID_CELL_LEFT_DCLICK, wxGridEventHandler( APPEARANCE_CONTROLS_BASE::OnNetGridDoubleClick ), NULL, this );
|
|
|
|
m_netsGrid->Disconnect( wxEVT_GRID_CELL_RIGHT_CLICK, wxGridEventHandler( APPEARANCE_CONTROLS_BASE::OnNetGridRightClick ), NULL, this );
|
|
|
|
m_netsGrid->Disconnect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ), NULL, this );
|
2020-08-19 01:55:45 +00:00
|
|
|
m_panelNetclasses->Disconnect( wxEVT_SET_FOCUS, wxFocusEventHandler( APPEARANCE_CONTROLS_BASE::OnSetFocus ), NULL, this );
|
2020-08-16 21:07:21 +00:00
|
|
|
m_cbLayerPresets->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( APPEARANCE_CONTROLS_BASE::onLayerPresetChanged ), NULL, this );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
}
|