Fixes Issue #1050. Adds ONMOUSEWHEEL to the sinkEvents call for the clipped state of Image. Patch by: bobv Review by: knorton git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1038 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/ui/Image.java b/user/src/com/google/gwt/user/client/ui/Image.java index 5c44e6b..e0752af 100644 --- a/user/src/com/google/gwt/user/client/ui/Image.java +++ b/user/src/com/google/gwt/user/client/ui/Image.java
@@ -171,7 +171,7 @@ this.height = height; this.url = url; image.setElement(impl.createStructure(url, left, top, width, height)); - image.sinkEvents(Event.ONCLICK | Event.MOUSEEVENTS); + image.sinkEvents(Event.ONCLICK | Event.MOUSEEVENTS | Event.ONMOUSEWHEEL); fireSyntheticLoadEvent(image); }