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:
Paul Cornett 2008-05-11 23:04:14 +00:00
parent 3abc756645
commit b6819de8da

View File

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