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:
Robin Dunn
2005-02-08 16:23:27 +00:00
parent cb32743940
commit 4d3ab2a036
2 changed files with 6 additions and 2 deletions

View File

@@ -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