From f662a526eba6268f4168776ed0da26313ca290b8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Feb 2009 21:40:53 +0000 Subject: [PATCH] compilation fix for template Connect() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/taskbarx11.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } } -- 2.45.2