2013-02-22 13:47:35 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2020-03-12 13:56:44 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
2013-02-22 13:47:35 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-02-12 22:48:37 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-02-22 13:47:35 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "dialog_schematic_find_base.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
DIALOG_SCH_FIND_BASE::DIALOG_SCH_FIND_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-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
wxBoxSizer* mainSizer;
|
2018-07-05 15:50:21 +00:00
|
|
|
mainSizer = new wxBoxSizer( wxVERTICAL );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2018-07-05 15:50:21 +00:00
|
|
|
wxBoxSizer* topSizer;
|
|
|
|
topSizer = new wxBoxSizer( wxHORIZONTAL );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
wxBoxSizer* leftSizer;
|
|
|
|
leftSizer = new wxBoxSizer( wxVERTICAL );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
wxFlexGridSizer* leftGridSizer;
|
|
|
|
leftGridSizer = new wxFlexGridSizer( 3, 2, 3, 3 );
|
|
|
|
leftGridSizer->AddGrowableCol( 1 );
|
|
|
|
leftGridSizer->SetFlexibleDirection( wxBOTH );
|
|
|
|
leftGridSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
m_staticText1 = new wxStaticText( this, wxID_ANY, _("&Search for:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticText1->Wrap( -1 );
|
2019-05-19 21:04:04 +00:00
|
|
|
leftGridSizer->Add( m_staticText1, 0, wxALIGN_CENTER_VERTICAL, 6 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
|
|
|
m_comboFind = new wxComboBox( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_DROPDOWN|wxTE_PROCESS_ENTER );
|
2013-02-22 13:47:35 +00:00
|
|
|
m_comboFind->SetToolTip( _("Text with optional wildcards") );
|
2019-05-19 21:04:04 +00:00
|
|
|
m_comboFind->SetMinSize( wxSize( 220,-1 ) );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2018-07-05 15:50:21 +00:00
|
|
|
leftGridSizer->Add( m_comboFind, 0, wxEXPAND, 6 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
m_staticReplace = new wxStaticText( this, wxID_ANY, _("Replace &with:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticReplace->Wrap( -1 );
|
|
|
|
m_staticReplace->Hide();
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2018-07-05 15:50:21 +00:00
|
|
|
leftGridSizer->Add( m_staticReplace, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
|
|
|
m_comboReplace = new wxComboBox( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxTE_PROCESS_ENTER );
|
2013-02-22 13:47:35 +00:00
|
|
|
m_comboReplace->Hide();
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2018-07-05 15:50:21 +00:00
|
|
|
leftGridSizer->Add( m_comboReplace, 0, wxEXPAND, 5 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
m_staticDirection = new wxStaticText( this, wxID_ANY, _("Direction:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticDirection->Wrap( -1 );
|
|
|
|
m_staticDirection->Hide();
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
leftGridSizer->Add( m_staticDirection, 0, 0, 5 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
wxBoxSizer* directionSizer;
|
|
|
|
directionSizer = new wxBoxSizer( wxVERTICAL );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
m_radioForward = new wxRadioButton( this, wxID_ANY, _("F&orward"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
|
|
|
|
m_radioForward->Hide();
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
directionSizer->Add( m_radioForward, 0, wxALL, 3 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
m_radioBackward = new wxRadioButton( this, wxID_ANY, _("&Backward"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_radioBackward->Hide();
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
directionSizer->Add( m_radioBackward, 0, wxALL, 3 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
leftGridSizer->Add( directionSizer, 1, wxEXPAND, 5 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
|
|
|
|
2018-07-05 15:50:21 +00:00
|
|
|
leftSizer->Add( leftGridSizer, 0, wxALL|wxEXPAND, 5 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2019-05-19 21:04:04 +00:00
|
|
|
wxGridBagSizer* gbSizer2;
|
|
|
|
gbSizer2 = new wxGridBagSizer( 0, 20 );
|
|
|
|
gbSizer2->SetFlexibleDirection( wxHORIZONTAL );
|
|
|
|
gbSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
m_checkMatchCase = new wxCheckBox( this, wxID_ANY, _("&Match case"), wxDefaultPosition, wxDefaultSize, 0 );
|
2019-05-19 21:04:04 +00:00
|
|
|
gbSizer2->Add( m_checkMatchCase, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2019-05-19 21:04:04 +00:00
|
|
|
m_checkWholeWord = new wxCheckBox( this, wxID_ANY, _("Words"), wxDefaultPosition, wxDefaultSize, 0 );
|
2020-03-12 13:56:44 +00:00
|
|
|
m_checkWholeWord->SetValue(true);
|
2019-05-19 21:04:04 +00:00
|
|
|
gbSizer2->Add( m_checkWholeWord, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2019-05-19 21:04:04 +00:00
|
|
|
m_checkWildcardMatch = new wxCheckBox( this, wxID_ANY, _("Wildcards"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
gbSizer2->Add( m_checkWildcardMatch, wxGBPosition( 0, 2 ), wxGBSpan( 1, 1 ), wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
|
|
|
m_checkAllPins = new wxCheckBox( this, wxID_ANY, _("Search pin &names and numbers"), wxDefaultPosition, wxDefaultSize, 0 );
|
2020-04-18 11:04:52 +00:00
|
|
|
gbSizer2->Add( m_checkAllPins, wxGBPosition( 1, 0 ), wxGBSpan( 1, 3 ), wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_checkAllFields = new wxCheckBox( this, wxID_ANY, _("Search hidden fields"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
gbSizer2->Add( m_checkAllFields, wxGBPosition( 2, 0 ), wxGBSpan( 1, 3 ), wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2016-02-01 10:42:33 +00:00
|
|
|
m_checkCurrentSheetOnly = new wxCheckBox( this, wxID_ANY, _("Search the current &sheet only"), wxDefaultPosition, wxDefaultSize, 0 );
|
2019-05-19 21:04:04 +00:00
|
|
|
gbSizer2->Add( m_checkCurrentSheetOnly, wxGBPosition( 3, 0 ), wxGBSpan( 1, 3 ), wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2020-04-18 11:04:52 +00:00
|
|
|
m_checkReplaceReferences = new wxCheckBox( this, wxID_ANY, _("Replace matches in reference designators"), wxDefaultPosition, wxDefaultSize, 0 );
|
2013-02-22 13:47:35 +00:00
|
|
|
m_checkReplaceReferences->Hide();
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2019-05-19 21:04:04 +00:00
|
|
|
gbSizer2->Add( m_checkReplaceReferences, wxGBPosition( 4, 0 ), wxGBSpan( 1, 3 ), wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
|
|
|
|
2019-05-19 21:04:04 +00:00
|
|
|
leftSizer->Add( gbSizer2, 1, wxEXPAND, 5 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
|
|
|
|
2018-07-05 15:50:21 +00:00
|
|
|
topSizer->Add( leftSizer, 1, wxEXPAND|wxALL, 5 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
wxBoxSizer* rightSizer;
|
|
|
|
rightSizer = new wxBoxSizer( wxVERTICAL );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
m_buttonFind = new wxButton( this, wxID_FIND, _("&Find"), wxDefaultPosition, wxDefaultSize, 0 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
|
|
|
m_buttonFind->SetDefault();
|
2013-02-22 13:47:35 +00:00
|
|
|
rightSizer->Add( m_buttonFind, 0, wxALL|wxEXPAND, 6 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
m_buttonReplace = new wxButton( this, wxID_REPLACE, _("&Replace"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_buttonReplace->Hide();
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
rightSizer->Add( m_buttonReplace, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 6 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
m_buttonReplaceAll = new wxButton( this, wxID_REPLACE_ALL, _("Replace &All"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_buttonReplaceAll->Hide();
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
rightSizer->Add( m_buttonReplaceAll, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 6 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
m_buttonCancel = new wxButton( this, wxID_CANCEL, _("Close"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
rightSizer->Add( m_buttonCancel, 0, wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 6 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
|
|
|
|
2018-07-05 15:50:21 +00:00
|
|
|
topSizer->Add( rightSizer, 0, wxALL|wxEXPAND, 6 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
|
|
|
|
2018-07-05 15:50:21 +00:00
|
|
|
mainSizer->Add( topSizer, 1, wxEXPAND, 5 );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
this->SetSizer( mainSizer );
|
|
|
|
this->Layout();
|
|
|
|
mainSizer->Fit( this );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
this->Centre( wxBOTH );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
// Connect Events
|
|
|
|
this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_SCH_FIND_BASE::OnClose ) );
|
2020-04-18 11:04:52 +00:00
|
|
|
this->Connect( wxEVT_IDLE, wxIdleEventHandler( DIALOG_SCH_FIND_BASE::OnIdle ) );
|
|
|
|
m_comboFind->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnSearchForSelect ), NULL, this );
|
2019-05-19 21:04:04 +00:00
|
|
|
m_comboFind->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnSearchForText ), NULL, this );
|
2020-04-18 11:04:52 +00:00
|
|
|
m_comboFind->Connect( wxEVT_COMMAND_TEXT_ENTER, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnSearchForEnter ), NULL, this );
|
2013-02-22 13:47:35 +00:00
|
|
|
m_comboFind->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_SCH_FIND_BASE::OnUpdateDrcUI ), NULL, this );
|
2020-04-18 11:04:52 +00:00
|
|
|
m_comboReplace->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnReplaceWithSelect ), NULL, this );
|
|
|
|
m_comboReplace->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnReplaceWithText ), NULL, this );
|
|
|
|
m_comboReplace->Connect( wxEVT_COMMAND_TEXT_ENTER, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnReplaceWithEnter ), NULL, this );
|
2013-02-22 13:47:35 +00:00
|
|
|
m_comboReplace->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_SCH_FIND_BASE::OnUpdateDrcUI ), NULL, this );
|
2019-05-19 21:04:04 +00:00
|
|
|
m_checkMatchCase->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnOptions ), NULL, this );
|
|
|
|
m_checkWholeWord->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnOptions ), NULL, this );
|
|
|
|
m_checkWildcardMatch->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnOptions ), NULL, this );
|
|
|
|
m_checkAllPins->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnOptions ), NULL, this );
|
2020-04-18 11:04:52 +00:00
|
|
|
m_checkAllFields->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnOptions ), NULL, this );
|
2019-05-19 21:04:04 +00:00
|
|
|
m_checkCurrentSheetOnly->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnOptions ), NULL, this );
|
2013-02-22 13:47:35 +00:00
|
|
|
m_buttonFind->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnFind ), NULL, this );
|
|
|
|
m_buttonReplace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnReplace ), NULL, this );
|
|
|
|
m_buttonReplace->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_SCH_FIND_BASE::OnUpdateReplaceUI ), NULL, this );
|
|
|
|
m_buttonReplaceAll->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnReplace ), NULL, this );
|
2016-01-12 15:57:17 +00:00
|
|
|
m_buttonReplaceAll->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_SCH_FIND_BASE::OnUpdateReplaceAllUI ), NULL, this );
|
2019-07-20 00:40:26 +00:00
|
|
|
m_buttonCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnCancel ), NULL, this );
|
2013-02-22 13:47:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DIALOG_SCH_FIND_BASE::~DIALOG_SCH_FIND_BASE()
|
|
|
|
{
|
|
|
|
// Disconnect Events
|
|
|
|
this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_SCH_FIND_BASE::OnClose ) );
|
2020-04-18 11:04:52 +00:00
|
|
|
this->Disconnect( wxEVT_IDLE, wxIdleEventHandler( DIALOG_SCH_FIND_BASE::OnIdle ) );
|
|
|
|
m_comboFind->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnSearchForSelect ), NULL, this );
|
2019-05-19 21:04:04 +00:00
|
|
|
m_comboFind->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnSearchForText ), NULL, this );
|
2020-04-18 11:04:52 +00:00
|
|
|
m_comboFind->Disconnect( wxEVT_COMMAND_TEXT_ENTER, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnSearchForEnter ), NULL, this );
|
2013-02-22 13:47:35 +00:00
|
|
|
m_comboFind->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_SCH_FIND_BASE::OnUpdateDrcUI ), NULL, this );
|
2020-04-18 11:04:52 +00:00
|
|
|
m_comboReplace->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnReplaceWithSelect ), NULL, this );
|
|
|
|
m_comboReplace->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnReplaceWithText ), NULL, this );
|
|
|
|
m_comboReplace->Disconnect( wxEVT_COMMAND_TEXT_ENTER, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnReplaceWithEnter ), NULL, this );
|
2013-02-22 13:47:35 +00:00
|
|
|
m_comboReplace->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_SCH_FIND_BASE::OnUpdateDrcUI ), NULL, this );
|
2019-05-19 21:04:04 +00:00
|
|
|
m_checkMatchCase->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnOptions ), NULL, this );
|
|
|
|
m_checkWholeWord->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnOptions ), NULL, this );
|
|
|
|
m_checkWildcardMatch->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnOptions ), NULL, this );
|
|
|
|
m_checkAllPins->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnOptions ), NULL, this );
|
2020-04-18 11:04:52 +00:00
|
|
|
m_checkAllFields->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnOptions ), NULL, this );
|
2019-05-19 21:04:04 +00:00
|
|
|
m_checkCurrentSheetOnly->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnOptions ), NULL, this );
|
2013-02-22 13:47:35 +00:00
|
|
|
m_buttonFind->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnFind ), NULL, this );
|
|
|
|
m_buttonReplace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnReplace ), NULL, this );
|
|
|
|
m_buttonReplace->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_SCH_FIND_BASE::OnUpdateReplaceUI ), NULL, this );
|
|
|
|
m_buttonReplaceAll->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnReplace ), NULL, this );
|
2016-01-12 15:57:17 +00:00
|
|
|
m_buttonReplaceAll->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_SCH_FIND_BASE::OnUpdateReplaceAllUI ), NULL, this );
|
2019-07-20 00:40:26 +00:00
|
|
|
m_buttonCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SCH_FIND_BASE::OnCancel ), NULL, this );
|
2020-03-12 13:56:44 +00:00
|
|
|
|
2013-02-22 13:47:35 +00:00
|
|
|
}
|