]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_evthandler.i
Added some info panels that show size and colour attributes about the widget
[wxWidgets.git] / wxPython / src / _evthandler.i
index f4baaacfdbfe0c45450d34d79b7f8b26ba2950e8..2fed5cab97515c1a902c6e3ff1df36153730635e 100644 (file)
@@ -106,6 +106,14 @@ public:
                 id  = source.GetId()
             event.Bind(self, id, id2, handler)              
 
+        def Unbind(self, event, source=None, id=wx.ID_ANY, id2=wx.ID_ANY):
+            """
+            Disconencts the event handler binding for event from self.
+            Returns True if successful.
+            """
+            if source is not None:
+                id  = source.GetId()
+            return event.Unbind(self, id, id2)              
     }