From 09d916ced7effbb3caec1cc1ae169f56071306ed Mon Sep 17 00:00:00 2001 From: acollange Date: Tue, 9 May 2017 17:23:26 +0200 Subject: [PATCH] Revert "Update customtreectrl.py" --- wx/lib/agw/customtreectrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wx/lib/agw/customtreectrl.py b/wx/lib/agw/customtreectrl.py index d2e781f9..5f041979 100644 --- a/wx/lib/agw/customtreectrl.py +++ b/wx/lib/agw/customtreectrl.py @@ -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()