Fix Unicode key code for Ctrl-letter in wxGTK.

This was broken by changes in r69892 and just the letter was used as the key
code instead of Ctrl-letter as it used (and should) be.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2011-12-08 14:54:25 +00:00
parent 4ce3452d32
commit 079b6a775a

View File

@ -974,7 +974,7 @@ gtk_window_key_press_callback( GtkWidget *WXUNUSED(widget),
if ( wxIsUpperChar(key_code) )
eventChar.m_keyCode = key_code - 'A' + 1;
#if wxUSE_UNICODE
eventChar.m_uniChar = event.m_keyCode;
eventChar.m_uniChar = eventChar.m_keyCode;
#endif
}