]> git.saurik.com Git - wxWidgets.git/commit
Don't set Unicode key code in key events to non-Unicode values in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Aug 2010 22:38:54 +0000 (22:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Aug 2010 22:38:54 +0000 (22:38 +0000)
commit276f883f7acd637e94b7b4078af84e058667bab0
tree8044dcc17565815b16a5d6f58abf2544fe44fb74
parent27607839f17cddae0f5b3b82b41dfd86f4192d82
Don't set Unicode key code in key events to non-Unicode values in wxGTK.

Only assign the wx key code wxKeyEvent::m_uniChar if it's a key corresponding
to an ASCII symbol, don't do it for the values outside of ASCII range such as
all the special WXK_ constants. It doesn't make sense to generate Unicode key
codes for e.g. cursor key presses.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/window.cpp