Set call event.SetEventObject() from commit_cb for wxKeyEvent

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-05-11 16:47:03 +00:00
parent 81b635b1ef
commit 28c513cb25

View File

@@ -1131,6 +1131,10 @@ gtk_wxwindow_commit_cb (GtkIMContext *context,
wxFillOtherKeyEventFields(event,
window, window->m_imData->lastKeyEvent);
}
else
{
event.SetEventObject( window );
}
const wxWxCharBuffer data(wxGTK_CONV_BACK_SYS(str));
if( !data )