mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Unbind the onsize event from the parent while destructing the child
Fixes KICAD-RJA
This commit is contained in:
parent
c6cd592bb1
commit
5b599213f6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user