diff --git a/wx/py/filling.py b/wx/py/filling.py index d57f07b7..05bf175f 100644 --- a/wx/py/filling.py +++ b/wx/py/filling.py @@ -125,6 +125,9 @@ class FillingTree(wx.TreeCtrl): d[key] = obj[n] if otype not in COMMONTYPES: for key in introspect.getAttributeNames(obj): + if wx.Platform == '__WXMSW__': + if key == 'DropTarget': # Windows bug fix. + continue # Believe it or not, some attributes can disappear, # such as the exc_traceback attribute of the sys # module. So this is nested in a try block.