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 184.108.40.206. Problem also existed in wxPython 220.127.116.11
Change History (9)
Changed 3 years ago by jim22k
comment:6 Changed 5 months ago by alexandrub
- Resolution fixed deleted
- Status changed from closed to reopened