Fix non-ASCII key handling in wxGrid editors.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Oct 2010 17:34:15 +0000 (17:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Oct 2010 17:34:15 +0000 (17:34 +0000)
commit6a1e8a634a09fa3ff09fe5190429f47e37b1930e
treeb1192ad82eb9749bf02b03bc81ded728e1d7aa7b
parent2c5c9c27def1b8fa76fcec01e6c89e719ac13653
Fix non-ASCII key handling in wxGrid editors.

Use wxKeyEvent::GetUnicodeKey() correctly, there is no need to guess about
what does it return now that its correct behaviour is documented and
implemented. Simply check if it returns WXK_NONE to check for non-characters.

Also use WXK_START instead of hard-coded 255 when checking GetKeyCode()
result.

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