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:
@@ -1131,6 +1131,10 @@ gtk_wxwindow_commit_cb (GtkIMContext *context,
|
|||||||
wxFillOtherKeyEventFields(event,
|
wxFillOtherKeyEventFields(event,
|
||||||
window, window->m_imData->lastKeyEvent);
|
window, window->m_imData->lastKeyEvent);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
event.SetEventObject( window );
|
||||||
|
}
|
||||||
|
|
||||||
const wxWxCharBuffer data(wxGTK_CONV_BACK_SYS(str));
|
const wxWxCharBuffer data(wxGTK_CONV_BACK_SYS(str));
|
||||||
if( !data )
|
if( !data )
|
||||||
|
Reference in New Issue
Block a user