From: Paul Cornett Date: Tue, 13 May 2008 02:51:17 +0000 (+0000) Subject: fix overload ambiguity when compiler doesn't know NULL is a pointer X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/143f80756dc515d4b03b3f61f107d16ada954ee7 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 --- 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(); } }