more fixes to keypress handling in wxGTK:

1. don't eat unprocessed events originating from child widgets
2. tell IM context about focus changes
3. set wxKeyEvent modifiers information from last GdkEventKey leading to IM's commit signal


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-06-26 15:25:39 +00:00
parent dbea9b7062
commit a3c15d892d
5 changed files with 258 additions and 101 deletions

View File

@@ -15,6 +15,10 @@
#pragma interface
#endif
// helper structure that holds class that holds GtkIMContext object and
// some additional data needed for key events processing
struct wxGtkIMData;
//-----------------------------------------------------------------------------
// callback definition for inserting a window (internal)
//-----------------------------------------------------------------------------
@@ -193,7 +197,7 @@ public:
GtkWidget *m_focusWidget;
#ifdef __WXGTK20__
GtkIMContext *m_imContext;
wxGtkIMData *m_imData;
#else
#if HAVE_XIM
// XIM support for wxWidgets