]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/evtmgr.py
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / wx / lib / evtmgr.py
index 5c32cacb89a51f9e35ba6ca3496fdd3f2929c4f4..439ccc76f301f23790a989caf14704c21d014fd5 100644 (file)
@@ -274,7 +274,7 @@ class EventManager:
 
 
     def __isDeadWxObject(self, anObject):
 
 
     def __isDeadWxObject(self, anObject):
-        return isinstance(anObject, wx._wxPyDeadObject)
+        return isinstance(anObject, wx._core._wxPyDeadObject)
 
 
     def __isDeadTopic(self, aTopic):
 
 
     def __isDeadTopic(self, aTopic):