Fixes a bug where MouseEvent.getX/Y() returns the incorrect value when the event is captured because the currentEventTarget is always the window on some browsers.  Now, widgets send the relativeElement (themselves) with the MouseEvent so getX/Y() can be calculated.

Patch by: jgw
Review by: jlabanca

git-svn-id: https://google-web-toolkit.googlecode.com/svn/releases/1.6@5035 8db76d5a-ed1c-0410-87a9-c151d255dfc7
4 files changed