Browse Source

Unbind the onsize event from the parent while destructing the child

Fixes KICAD-RJA
pull/18/head
Mark Roszko 3 months ago
parent
commit
5b599213f6
  1. 2
      common/widgets/wx_infobar.cpp

2
common/widgets/wx_infobar.cpp

@ -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…
Cancel
Save