From fec0a1fbc847bb0e1bb64aaa1988a2617a524f83 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 8 Dec 2020 18:43:43 +0000 Subject: [PATCH] Take II. --- common/widgets/lib_tree.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/widgets/lib_tree.cpp b/common/widgets/lib_tree.cpp index 8f68c78d15..7f973061f2 100644 --- a/common/widgets/lib_tree.cpp +++ b/common/widgets/lib_tree.cpp @@ -110,12 +110,6 @@ LIB_TREE::LIB_TREE( wxWindow* aParent, LIB_TABLE* aLibTable, m_tree_ctrl->Bind( wxEVT_DATAVIEW_SELECTION_CHANGED, &LIB_TREE::onTreeSelect, this ); m_tree_ctrl->Bind( wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU, &LIB_TREE::onContextMenu, this ); - if( m_query_ctrl ) - { - m_query_ctrl->Bind( wxEVT_SET_FOCUS, &LIB_TREE::onFocus, this ); - m_query_ctrl->Bind( wxEVT_KILL_FOCUS, &LIB_TREE::onKillFocus, this ); - } - Bind( COMPONENT_PRESELECTED, &LIB_TREE::onPreselect, this ); // If wxTextCtrl::SetHint() is called before binding wxEVT_TEXT, the event