From 6f68b173a8e7c7e58f78024bf819f75052506f3c Mon Sep 17 00:00:00 2001 From: Aaron Ayres Date: Tue, 17 Nov 2020 13:53:56 -0600 Subject: [PATCH] add wx_id parameter to init for Tree class to avoid errors --- pyface/ui/wx/tree/tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyface/ui/wx/tree/tree.py b/pyface/ui/wx/tree/tree.py index 7d13db4e8..5fb61d127 100644 --- a/pyface/ui/wx/tree/tree.py +++ b/pyface/ui/wx/tree/tree.py @@ -182,7 +182,7 @@ def __init__(self, parent, image_size=(16, 16), **traits): # Create the toolkit-specific control. self.control = tree = _Tree( - self, parent, style=self._get_style() + self, parent, wxid=wx.ID_ANY, style=self._get_style() ) # Wire up the wx tree events.