Hi there,
in my tool i use the SearchCtrl widget and i bound it to wx.EVT_TEXT_ENTER Event with the Style wx.TE_PROCESS_ENTER. This was working until I updated to the newest Version of wxpython.
Do i have any chance to get it working again?
Hi there,
in my tool i use the SearchCtrl widget and i bound it to wx.EVT_TEXT_ENTER Event with the Style wx.TE_PROCESS_ENTER. This was working until I updated to the newest Version of wxpython.
Do i have any chance to get it working again?
This seems to be an intentional change. The wxWidgets docs for wxSearchCtrl
removed the wxTE_PROCESS_ENTER
style from the list and recommends using EVT_SEARCH
for everything, and it states that:
However it is recommended to use wxEVT_SEARCH to actually start searching to avoid doing it too soon, while the user is still typing (note that wxEVT_SEARCH is also triggered by pressing Enter in the control).