From 123129601ca3438a89bbe5b09d3246dfece5b6c6 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 26 Mar 2007 18:54:05 +0000 Subject: [PATCH] fix offset of widget git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wx/lib/customtreectrl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wxPython/wx/lib/customtreectrl.py b/wxPython/wx/lib/customtreectrl.py index 37949d0400..dd05d7227a 100644 --- a/wxPython/wx/lib/customtreectrl.py +++ b/wxPython/wx/lib/customtreectrl.py @@ -4414,6 +4414,7 @@ class CustomTreeCtrl(wx.PyScrolledWindow): if wnd: wndx = wcheck + image_w + item.GetX() + text_w + 4 xa, ya = self.CalcScrolledPosition((0, item.GetY())) + wndx += xa if not wnd.IsShown(): wnd.Show() if wnd.GetPosition() != (wndx, ya):