Minor cleanup.
This commit is contained in:
parent
2372f24cb0
commit
f2de3e9f67
|
@ -134,11 +134,9 @@ LIB_TREE::LIB_TREE( wxWindow* aParent, const wxString& aRecentSearchesKey, LIB_T
|
|||
m_tree_ctrl->Bind( wxEVT_SIZE, &LIB_TREE::onSize, this );
|
||||
m_tree_ctrl->Bind( wxEVT_DATAVIEW_ITEM_ACTIVATED, &LIB_TREE::onTreeActivate, this );
|
||||
m_tree_ctrl->Bind( wxEVT_DATAVIEW_SELECTION_CHANGED, &LIB_TREE::onTreeSelect, this );
|
||||
m_tree_ctrl->Bind( wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU, &LIB_TREE::onItemContextMenu,
|
||||
m_tree_ctrl->Bind( wxEVT_DATAVIEW_ITEM_CONTEXT_MENU, &LIB_TREE::onItemContextMenu, this );
|
||||
m_tree_ctrl->Bind( wxEVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK, &LIB_TREE::onHeaderContextMenu,
|
||||
this );
|
||||
m_tree_ctrl->Bind( wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK,
|
||||
&LIB_TREE::onHeaderContextMenu, this );
|
||||
m_tree_ctrl->Bind( wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK, &LIB_TREE::onHeaderClick, this );
|
||||
|
||||
Bind( SYMBOL_PRESELECTED, &LIB_TREE::onPreselect, this );
|
||||
|
||||
|
@ -646,11 +644,5 @@ void LIB_TREE::onHeaderContextMenu( wxDataViewEvent& aEvent )
|
|||
}
|
||||
|
||||
|
||||
void LIB_TREE::onHeaderClick( wxDataViewEvent& aEvent )
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
wxDEFINE_EVENT( SYMBOL_PRESELECTED, wxCommandEvent );
|
||||
wxDEFINE_EVENT( SYMBOL_SELECTED, wxCommandEvent );
|
||||
|
|
|
@ -201,7 +201,6 @@ protected:
|
|||
void onDetailsLink( wxHtmlLinkEvent& aEvent );
|
||||
void onPreselect( wxCommandEvent& aEvent );
|
||||
void onItemContextMenu( wxDataViewEvent& aEvent );
|
||||
void onHeaderClick( wxDataViewEvent& aEvent );
|
||||
void onHeaderContextMenu( wxDataViewEvent& aEvent );
|
||||
|
||||
void onDebounceTimer( wxTimerEvent& aEvent );
|
||||
|
|
Loading…
Reference in New Issue