Fix build error.
Bind() and Unbind() require class specification when passing a pointer to a class member.
This commit is contained in:
parent
f781691049
commit
0e41632105
|
@ -294,7 +294,7 @@ LIB_EDIT_FRAME::LIB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
|
||||||
Raise();
|
Raise();
|
||||||
Show( true );
|
Show( true );
|
||||||
|
|
||||||
Bind( wxEVT_COMMAND_MENU_SELECTED, &OnEditSymbolLibTable, this,
|
Bind( wxEVT_COMMAND_MENU_SELECTED, &LIB_EDIT_FRAME::OnEditSymbolLibTable, this,
|
||||||
ID_EDIT_SYM_LIB_TABLE );
|
ID_EDIT_SYM_LIB_TABLE );
|
||||||
|
|
||||||
wxCommandEvent evt( wxEVT_COMMAND_MENU_SELECTED, ID_ZOOM_PAGE );
|
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()
|
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 );
|
ID_EDIT_SYM_LIB_TABLE );
|
||||||
|
|
||||||
m_drawItem = m_lastDrawItem = NULL;
|
m_drawItem = m_lastDrawItem = NULL;
|
||||||
|
|
|
@ -437,14 +437,14 @@ SCH_EDIT_FRAME::SCH_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ):
|
||||||
// Net list generator
|
// Net list generator
|
||||||
DefaultExecFlags();
|
DefaultExecFlags();
|
||||||
|
|
||||||
Bind( wxEVT_COMMAND_MENU_SELECTED, &OnEditSymbolLibTable, this,
|
Bind( wxEVT_COMMAND_MENU_SELECTED, &SCH_EDIT_FRAME::OnEditSymbolLibTable, this,
|
||||||
ID_EDIT_SYM_LIB_TABLE );
|
ID_EDIT_SYM_LIB_TABLE );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SCH_EDIT_FRAME::~SCH_EDIT_FRAME()
|
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 );
|
ID_EDIT_SYM_LIB_TABLE );
|
||||||
|
|
||||||
delete m_item_to_repeat; // we own the cloned object, see this->SetRepeatItem()
|
delete m_item_to_repeat; // we own the cloned object, see this->SetRepeatItem()
|
||||||
|
|
Loading…
Reference in New Issue