Revert "Update customtreectrl.py"

This commit is contained in:
acollange
2017-05-09 17:23:26 +02:00
committed by GitHub
parent 71e05cb8a2
commit 09d916ced7

View File

@@ -5867,7 +5867,7 @@ class CustomTreeCtrl(wx.ScrolledWindow):
if wx.Platform in ["__WXMSW__", "__WXMAC__"]:
self.Update()
else:
wx.SafeYield(onlyIfNeeded=True)
wx.SafeYield()
# now scroll to the item
item_y = item.GetY()