Author: [email protected]
Date: Fri May 15 13:32:36 2009
New Revision: 5398

Modified:
    trunk/user/src/com/google/gwt/event/dom/client/MouseWheelEvent.java

Log:
Fixes broken scroll-wheel on FF3.
Issue: 2902
Review: http://gwt-code-reviews.appspot.com/33820


Modified:  
trunk/user/src/com/google/gwt/event/dom/client/MouseWheelEvent.java
==============================================================================
--- trunk/user/src/com/google/gwt/event/dom/client/MouseWheelEvent.java  
(original)
+++ trunk/user/src/com/google/gwt/event/dom/client/MouseWheelEvent.java Fri  
May 15 13:32:36 2009
@@ -27,6 +27,15 @@
    private static final Type<MouseWheelHandler> TYPE = new  
Type<MouseWheelHandler>(
        "mousewheel", new MouseWheelEvent());

+  static {
+    /**
+     * Hidden type used to ensure DOMMouseScroll gets registered in the  
type map.
+     * This is the special name used on Mozilla browsers for what everyone  
else
+     * calls 'mousewheel'.
+     */
+    new Type<MouseWheelHandler>("DOMMouseScroll", new MouseWheelEvent());
+  }
+
    /**
     * Gets the event type associated with mouse wheel events.
     *

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to