disconnect handler in wxTaskBarIcon dtor, should have been part of previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3abc756645
commit
b6819de8da
@ -263,7 +263,10 @@ wxTaskBarIcon::wxTaskBarIcon() : m_iconWnd(NULL)
|
||||
wxTaskBarIcon::~wxTaskBarIcon()
|
||||
{
|
||||
if (m_iconWnd)
|
||||
{
|
||||
m_iconWnd->Disconnect(wxEVT_DESTROY, NULL, NULL, this);
|
||||
RemoveIcon();
|
||||
}
|
||||
}
|
||||
|
||||
bool wxTaskBarIcon::IsOk() const
|
||||
|
Loading…
Reference in New Issue
Block a user