reverted patch 1325857 (rev 1.561): it might have fixed handling of CJK keys but broke handling of the normal keys without IM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1060,7 +1060,7 @@ static gint gtk_window_key_press_callback( GtkWidget *widget,
|
|||||||
bool ret = false;
|
bool ret = false;
|
||||||
bool return_after_IM = false;
|
bool return_after_IM = false;
|
||||||
|
|
||||||
if( wxTranslateGTKKeyEventToWx(event, win, gdk_event) == false )
|
if ( wxTranslateGTKKeyEventToWx(event, win, gdk_event) )
|
||||||
{
|
{
|
||||||
// Emit KEY_DOWN event
|
// Emit KEY_DOWN event
|
||||||
ret = win->GetEventHandler()->ProcessEvent( event );
|
ret = win->GetEventHandler()->ProcessEvent( event );
|
||||||
|
Reference in New Issue
Block a user