mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-10-06 07:00:16 +08:00
Allow opening wxSearchCtrl menu from keyboard with Alt-Down
The search menu could only be opened by clicking the button showing it, which doesn't accept focus from the keyboard on purpose, so keyboard and screen reader users couldn't use it at all. Handle Alt-Down in the text part of the control and show the menu from there, as suggested in the comments of the original ticket. Fixes #18457. Closes #27093.
This commit is contained in:
committed by
Vadim Zeitlin
parent
d54b211e26
commit
00ee56c01d
@@ -169,6 +169,7 @@ protected:
|
||||
|
||||
private:
|
||||
friend class wxSearchButton;
|
||||
friend class wxSearchTextCtrl;
|
||||
|
||||
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
|
||||
// Implement wxMSW-specific pure virtual function by forwarding it to the
|
||||
|
||||
Reference in New Issue
Block a user