Hi Andrea.
If I push the down key permanently in CustomTreeControl in ‘phoenix’ version, I get the following error message:
Traceback (most recent call last):
File “D:\Python27\lib\site-packages\wx-2.9.5-81-msw\wx\lib\agw\customtreectrl.py”, line 7308, in OnKeyDown
self.DoSelectItem(next, unselect_others, extended_select, from_key=True)
File “D:\Python27\lib\site-packages\wx-2.9.5-81-msw\wx\lib\agw\customtreectrl.py”, line 5744, in DoSelectItem
self.EnsureVisible(item)
File “D:\Python27\lib\site-packages\wx-2.9.5-81-msw\wx\lib\agw\customtreectrl.py”, line 5848, in EnsureVisible
self.ScrollTo(item)
File “D:\Python27\lib\site-packages\wx-2.9.5-81-msw\wx\lib\agw\customtreectrl.py”, line 5868, in ScrollTo
wx.SafeYield()
wx._core.wxAssertionError: C++ assertion “Assert failure” failed at …\src\common\evtloopcmn.cpp(75) in wxEventLoopBase::Yield(): wxYield called recursively
In ‘classic’ it is not.
How can I avoid this ?
XP32 SP3, Python 2.7.3
Thx, woss
CTCSample.py (1.85 KB)