From 2ac76e92fa04d33b60087c3dce8db5eb200ece09 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Mon, 15 Dec 2025 20:08:01 -0500 Subject: [PATCH] Bugfix in hypertreelist. Add missing attribute _x_maincol to constructor of TreeListMainWindow. Fixes https://github.com/wxWidgets/Phoenix/issues/2828 --- wx/lib/agw/hypertreelist.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wx/lib/agw/hypertreelist.py b/wx/lib/agw/hypertreelist.py index d01c0757..74ee5ad4 100644 --- a/wx/lib/agw/hypertreelist.py +++ b/wx/lib/agw/hypertreelist.py @@ -2341,6 +2341,7 @@ class TreeListMainWindow(CustomTreeCtrl): self._curColumn = -1 # no current column self._owner = parent self._main_column = 0 + self._x_maincol = 0 self._dragItem = None self._imgWidth = self._imgWidth2 = 0