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:
@@ -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
|
||||
|
Reference in New Issue
Block a user