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:
@@ -263,7 +263,10 @@ wxTaskBarIcon::wxTaskBarIcon() : m_iconWnd(NULL)
|
|||||||
wxTaskBarIcon::~wxTaskBarIcon()
|
wxTaskBarIcon::~wxTaskBarIcon()
|
||||||
{
|
{
|
||||||
if (m_iconWnd)
|
if (m_iconWnd)
|
||||||
|
{
|
||||||
|
m_iconWnd->Disconnect(wxEVT_DESTROY, NULL, NULL, this);
|
||||||
RemoveIcon();
|
RemoveIcon();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxTaskBarIcon::IsOk() const
|
bool wxTaskBarIcon::IsOk() const
|
||||||
|
Reference in New Issue
Block a user