Unbind the onsize event from the parent while destructing the child
Fixes KICAD-RJA
This commit is contained in:
@@ -108,6 +108,8 @@ WX_INFOBAR::WX_INFOBAR( wxWindow* aParent, wxAuiManager* aMgr, wxWindowID aWinid
|
||||
|
||||
WX_INFOBAR::~WX_INFOBAR()
|
||||
{
|
||||
m_parent->Unbind( wxEVT_SIZE, &WX_INFOBAR::onSize, this );
|
||||
|
||||
delete m_showTimer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user