compilation fix for template Connect()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-02-02 21:40:53 +00:00
parent 361ba943f9
commit f662a526eb

View File

@ -273,8 +273,8 @@ wxTaskBarIcon::~wxTaskBarIcon()
{
if (m_iconWnd)
{
m_iconWnd->Disconnect(
wxEVT_DESTROY, wxObjectEventFunction(NULL), NULL, this);
m_iconWnd->Disconnect(wxEVT_DESTROY,
wxWindowDestroyEventHandler(wxTaskBarIcon::OnDestroy), NULL, this);
RemoveIcon();
}
}