diff --git a/wxPython/wx/tools/XRCed/tree.py b/wxPython/wx/tools/XRCed/tree.py index 01867d750f..1d45918535 100644 --- a/wxPython/wx/tools/XRCed/tree.py +++ b/wxPython/wx/tools/XRCed/tree.py @@ -972,7 +972,7 @@ class XML_Tree(wxTreeCtrl): # Override to use like single-selection tree def GetSelection(self): - self.GetSelections(self)[:1] + return self.selection def SelectItem(self, item): self.UnselectAll() self.ChangeSelection(item)