From a24d7726e6b5c1b727d97603a3b5e80fa27a9dd2 Mon Sep 17 00:00:00 2001 From: Roman Rolinsky Date: Wed, 10 Aug 2005 15:57:23 +0000 Subject: [PATCH] one more fix for tree selection git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wx/tools/XRCed/tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)