mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
Occurrences of PyDeadObjectError replaced by RuntimeError
This commit is contained in:
@@ -222,7 +222,7 @@ class EventManager:
|
||||
name = aWin.GetClassName()
|
||||
i = id(aWin)
|
||||
return '%s #%d' % (name, i)
|
||||
except wx.PyDeadObjectError:
|
||||
except RuntimeError:
|
||||
return '(dead wx.Object)'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user