Fix wxKeyEvent::m_uniChar for EVT_CHAR for native controls in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Jul 2012 11:29:00 +0000 (11:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Jul 2012 11:29:00 +0000 (11:29 +0000)
commitd50905f7618df5f6fa54bdabcda7f69f54ffecf3
treeb2ead945ffc518deb35b7c2e4f2847b5cc164076
parent7c8bfa876a775b343b2185ba9499825d73703737
Fix wxKeyEvent::m_uniChar for EVT_CHAR for native controls in wxGTK.

It was mistakenly set to the same value as in EVT_KEY_DOWN event but, just as
m_keyCode, it may be different for EVT_CHAR.

Use gdk_keyval_to_unicode() to set it correctly instead of inheriting
EVT_KEY_DOWN value.

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