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
Change History (9)
Changed 5 years ago by jim22k
comment:6 Changed 2 years ago by alexandrub
- Resolution fixed deleted
- Status changed from closed to reopened