Ticket #12808 (closed defect: fixed)
wxSearchCtrl breaks tab-traversal when wxTE_PROCESS_ENTER flag is set
|Reported by:||jim22k||Owned by:|
wxSearchCtrl correctly handles tab/shift-tab for transfering focus to the next GUI element when no style flags are set. When the wxTE_PROCESS_ENTER flag is set, however, tab-traversal breaks. The flag is supposed to capture Enter and stop it from transferring focus, but it appears to also be capturing the tab.
Things that are working correctly:
- wxSearchCtrl correctly handles the wxTE_PROCESS_TAB flag, which allows the user to enter a tab in the search box.
- wxTextCtrl works correctly with the wxTE_PROCESS_ENTER flag, capturing Enter, but still allowing tab-traversal
So this seems to be limited to just the wxSearchCtrl handling the wxTE_PROCESS_ENTER flag.
This is on MSW (Windows 7) running wxPython 126.96.36.199. Problem also existed in wxPython 188.8.131.52