]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_taskbar.i
Reverted to old method names/signatures for wx.DC, updated lib and
[wxWidgets.git] / wxPython / src / _taskbar.i
index c32be7d5a7b91dbde19ba709a4dc433367c1ca81..5d4c54bf88e13b628e2c08099ca3373b24d7922d 100644 (file)
@@ -61,7 +61,14 @@ class wxTaskBarIcon : public wxEvtHandler
 public:
     wxTaskBarIcon();
     ~wxTaskBarIcon();
-   
+
+    %extend {
+        void Destroy() {
+        #ifndef __WXMAC__
+            self->RemoveIcon();
+        #endif
+        }
+    }
 
 #ifndef __WXMAC__
     bool IsOk() const;