Yield causes premature redrawing of the test window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -792,7 +792,7 @@ class XML_Tree(wx.TreeCtrl):
|
|||||||
self.selection = None
|
self.selection = None
|
||||||
g.tools.UpdateUI()
|
g.tools.UpdateUI()
|
||||||
wx.TreeCtrl.UnselectAll(self)
|
wx.TreeCtrl.UnselectAll(self)
|
||||||
wx.Yield()
|
#wx.Yield()
|
||||||
|
|
||||||
def ChangeSelection(self, item):
|
def ChangeSelection(self, item):
|
||||||
# Apply changes
|
# Apply changes
|
||||||
|
Reference in New Issue
Block a user