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:
@@ -974,7 +974,7 @@ gtk_window_key_press_callback( GtkWidget *WXUNUSED(widget),
|
|||||||
if ( wxIsUpperChar(key_code) )
|
if ( wxIsUpperChar(key_code) )
|
||||||
eventChar.m_keyCode = key_code - 'A' + 1;
|
eventChar.m_keyCode = key_code - 'A' + 1;
|
||||||
#if wxUSE_UNICODE
|
#if wxUSE_UNICODE
|
||||||
eventChar.m_uniChar = event.m_keyCode;
|
eventChar.m_uniChar = eventChar.m_keyCode;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user