From: Roman Rolinsky Date: Thu, 26 Apr 2007 20:32:14 +0000 (+0000) Subject: test prevented to update encoding X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2755491049a7b97d019fe1116baeee645b53c072 test prevented to update encoding git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wx/tools/XRCed/tree.py b/wxPython/wx/tools/XRCed/tree.py index 09522e30dc..d287a1d33a 100644 --- a/wxPython/wx/tools/XRCed/tree.py +++ b/wxPython/wx/tools/XRCed/tree.py @@ -779,8 +779,7 @@ class XML_Tree(wx.TreeCtrl): #oldItem = evt.GetOldItem() status = '' oldItem = self.selection - # use GetItemParent as a way to determine if the itemId is still valid - if oldItem and self.GetItemParent(oldItem): + if oldItem: xxx = self.GetPyData(oldItem) # If some data was modified, apply changes if g.panel.IsModified():