Fix wxKeyEvent::GetKeyCode() for non-US keyboard layouts
Use the key code corresponding to the key in the US keyboard layout for the key down/up events even when not actually using US layout, as this is much more useful than simply returning 0 as was done before. It also is compatible with the behaviour of the other ports. Closes #17643. Closes #23379. See #23410.
This commit is contained in:
parent
24a96a78d2
commit
2c0f6a2aa0
5 changed files with 247 additions and 6 deletions
|
|
@ -74,7 +74,7 @@ case $(uname -s) in
|
|||
extra_deps='libwebkit2gtk-4.0-dev libgspell-1-dev'
|
||||
;;
|
||||
2) libtoolkit_dev=libgtk2.0-dev
|
||||
extra_deps='libwebkitgtk-dev'
|
||||
extra_deps='libwebkitgtk-dev libxkbcommon-dev'
|
||||
;;
|
||||
*) echo 'Please specify wxGTK_VERSION explicitly.' >&2
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue