From 143f80756dc515d4b03b3f61f107d16ada954ee7 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Tue, 13 May 2008 02:51:17 +0000 Subject: [PATCH] fix overload ambiguity when compiler doesn't know NULL is a pointer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/taskbarx11.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/unix/taskbarx11.cpp b/src/unix/taskbarx11.cpp index 6c3af3359f..ced3b5e059 100644 --- a/src/unix/taskbarx11.cpp +++ b/src/unix/taskbarx11.cpp @@ -264,7 +264,8 @@ wxTaskBarIcon::~wxTaskBarIcon() { if (m_iconWnd) { - m_iconWnd->Disconnect(wxEVT_DESTROY, NULL, NULL, this); + m_iconWnd->Disconnect( + wxEVT_DESTROY, wxObjectEventFunction(NULL), NULL, this); RemoveIcon(); } } -- 2.45.2