From: Vadim Zeitlin Date: Mon, 2 Feb 2009 21:40:53 +0000 (+0000) Subject: compilation fix for template Connect() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f662a526eba6268f4168776ed0da26313ca290b8?ds=inline compilation fix for template Connect() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/unix/taskbarx11.cpp b/src/unix/taskbarx11.cpp index d1dfc5e746..385f05d46f 100644 --- a/src/unix/taskbarx11.cpp +++ b/src/unix/taskbarx11.cpp @@ -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(); } }