was wrong, as it reported the position relative to the
TLW (this is what a bug report claims, in any case).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32428
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#if wxUSE_UNICODE
event.m_uniChar = gdk_keyval_to_unicode(gdk_event->keyval);
#endif
+ wxGetMousePosition( &x, &y );
+ win->ScreenToClient( &x, &y );
event.m_x = x;
event.m_y = y;
event.SetEventObject( win );
#if wxUSE_UNICODE
event.m_uniChar = gdk_keyval_to_unicode(gdk_event->keyval);
#endif
+ wxGetMousePosition( &x, &y );
+ win->ScreenToClient( &x, &y );
event.m_x = x;
event.m_y = y;
event.SetEventObject( win );