]> git.saurik.com Git - wxWidgets.git/commitdiff
fix overload ambiguity when compiler doesn't know NULL is a pointer
authorPaul Cornett <paulcor@bullseye.com>
Tue, 13 May 2008 02:51:17 +0000 (02:51 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Tue, 13 May 2008 02:51:17 +0000 (02:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/taskbarx11.cpp

index 6c3af3359f2d4f89f196d50e0350ffd178ea6b85..ced3b5e059716e7060ce6ae4f6e17d0d384f2a75 100644 (file)
@@ -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();
     }
 }