]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_event_ex.py
Add IsValid()
[wxWidgets.git] / wxPython / src / _event_ex.py
index 03663716d2d2a68a342510f4de97a8a9a5cc1cc9..622bed6de91f65c4d10e207acd973ef875ff07a6 100644 (file)
@@ -23,12 +23,14 @@ class PyEventBinder(object):
         for et in self.evtType:
             target.Connect(id1, id2, et, function)
 
+
     def Unbind(self, target, id1, id2):
         """Remove an event binding."""
         success = 0
         for et in self.evtType:
             success += target.Disconnect(id1, id2, et)
         return success != 0
+
     
     def __call__(self, *args):
         """