diff --git a/eeschema/libeditframe.cpp b/eeschema/libeditframe.cpp index 18bf13ef3d..4f63bc3ae3 100644 --- a/eeschema/libeditframe.cpp +++ b/eeschema/libeditframe.cpp @@ -294,7 +294,7 @@ LIB_EDIT_FRAME::LIB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) : Raise(); Show( true ); - Bind( wxEVT_COMMAND_MENU_SELECTED, &OnEditSymbolLibTable, this, + Bind( wxEVT_COMMAND_MENU_SELECTED, &LIB_EDIT_FRAME::OnEditSymbolLibTable, this, ID_EDIT_SYM_LIB_TABLE ); wxCommandEvent evt( wxEVT_COMMAND_MENU_SELECTED, ID_ZOOM_PAGE ); @@ -304,7 +304,7 @@ LIB_EDIT_FRAME::LIB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) : LIB_EDIT_FRAME::~LIB_EDIT_FRAME() { - Unbind( wxEVT_COMMAND_MENU_SELECTED, &OnEditSymbolLibTable, this, + Unbind( wxEVT_COMMAND_MENU_SELECTED, &LIB_EDIT_FRAME::OnEditSymbolLibTable, this, ID_EDIT_SYM_LIB_TABLE ); m_drawItem = m_lastDrawItem = NULL; diff --git a/eeschema/schframe.cpp b/eeschema/schframe.cpp index 1e62e64c60..0681b9e721 100644 --- a/eeschema/schframe.cpp +++ b/eeschema/schframe.cpp @@ -437,14 +437,14 @@ SCH_EDIT_FRAME::SCH_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ): // Net list generator DefaultExecFlags(); - Bind( wxEVT_COMMAND_MENU_SELECTED, &OnEditSymbolLibTable, this, + Bind( wxEVT_COMMAND_MENU_SELECTED, &SCH_EDIT_FRAME::OnEditSymbolLibTable, this, ID_EDIT_SYM_LIB_TABLE ); } SCH_EDIT_FRAME::~SCH_EDIT_FRAME() { - Unbind( wxEVT_COMMAND_MENU_SELECTED, &OnEditSymbolLibTable, this, + Unbind( wxEVT_COMMAND_MENU_SELECTED, &SCH_EDIT_FRAME::OnEditSymbolLibTable, this, ID_EDIT_SYM_LIB_TABLE ); delete m_item_to_repeat; // we own the cloned object, see this->SetRepeatItem()