Unbind the onsize event from the parent while destructing the child

Fixes KICAD-RJA
This commit is contained in:
Mark Roszko 2025-07-07 20:58:40 -04:00
parent c6cd592bb1
commit 5b599213f6

View File

@ -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;
}