wxPython tab cleaning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Surovell
2006-01-29 17:35:47 +00:00
parent 6e5551ad85
commit 2458faeb60
6 changed files with 28 additions and 28 deletions

View File

@@ -441,7 +441,7 @@ class XML_Tree(wxTreeCtrl):
EVT_TREE_ITEM_COLLAPSED(self, self.GetId(), self.OnItemExpandedCollapsed)
self.selection = None
self.selectionChanging = False
self.selectionChanging = False
self.needUpdate = False
self.pendingHighLight = None
self.ctrl = self.shift = False
@@ -683,10 +683,10 @@ class XML_Tree(wxTreeCtrl):
def OnSelChanged(self, evt):
if self.selectionChanging: return
self.selectionChanging = True
self.selectionChanging = True
self.UnselectAll()
self.SelectItem(evt.GetItem())
self.selectionChanging = False
self.selectionChanging = False
def ChangeSelection(self, item):
# Apply changes