Call wxKeyEvent::SetEventObject() if no last key event
available from which it is otherwise copied. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1157,6 +1157,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(str));
|
const wxWxCharBuffer data(wxGTK_CONV_BACK(str));
|
||||||
if( !data )
|
if( !data )
|
||||||
|
Reference in New Issue
Block a user