Allow EVT_CHAR events in a wxGTK2 build for F-keys, and other
non-alphanumeric keys. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1217,6 +1217,8 @@ static gint gtk_window_key_press_callback( GtkWidget *widget,
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif // #ifndef __WXGTK20__
|
||||
|
||||
// Only send wxEVT_CHAR event if not processed yet. Thus, ALT-x
|
||||
// will only be sent if it is not in an accelerator table.
|
||||
if (!ret)
|
||||
@@ -1262,7 +1264,7 @@ static gint gtk_window_key_press_callback( GtkWidget *widget,
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // #ifndef __WXGTK20__
|
||||
|
||||
|
||||
|
||||
#if wxUSE_ACCEL
|
||||
|
Reference in New Issue
Block a user