git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

This commit is contained in:
Jouk Jansen
2007-09-25 14:39:47 +00:00
parent 58fda45507
commit 934960d133
11 changed files with 126 additions and 130 deletions

View File

@@ -927,7 +927,10 @@ static void wxFillOtherKeyEventFields(wxKeyEvent& event,
event.m_rawCode = (wxUint32) gdk_event->keyval;
event.m_rawFlags = 0;
#if wxUSE_UNICODE
event.m_uniChar = gdk_keyval_to_unicode(gdk_event->keyval);
#if 0
// this is not gtk1.x
event.m_uniChar = gdk_keyval_to_unicode(gdk_event->keyval);
#endif
#endif
wxGetMousePosition( &x, &y );
win->ScreenToClient( &x, &y );