diff --git a/wxPython/wx/lib/evtmgr.py b/wxPython/wx/lib/evtmgr.py index 5c32cacb89..439ccc76f3 100644 --- a/wxPython/wx/lib/evtmgr.py +++ b/wxPython/wx/lib/evtmgr.py @@ -274,7 +274,7 @@ class EventManager: def __isDeadWxObject(self, anObject): - return isinstance(anObject, wx._wxPyDeadObject) + return isinstance(anObject, wx._core._wxPyDeadObject) def __isDeadTopic(self, aTopic):