]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/taskbarx11.cpp
derive wxSTC from wxTextAreaBase to provide wxTextCtrl-like methods (see #9114)
[wxWidgets.git] / 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();
     }
 }