Please add the PushButton(Image,Image,ClickHandler) constructor that
parities the PushButton(Image,Image,ClickListener) of the deprecated
listener based event system.

Thanks,

Cameron

### Eclipse Workspace Patch 1.0
#P gwt-1.6
Index: user/src/com/google/gwt/user/client/ui/PushButton.java
===================================================================
--- user/src/com/google/gwt/user/client/ui/PushButton.java    (revision
4528)
+++ user/src/com/google/gwt/user/client/ui/PushButton.java    (working copy)
@@ -104,6 +104,17 @@
   }

   /**
+   * Constructor for <code>PushButton</code>.
+   *
+   * @param upImage image for the default(up) face of the button
+   * @param downImage image for the down face of the button
+   * @param handler ClickHandler
+   */
+  public PushButton(Image upImage, Image downImage, ClickHandler handler) {
+    super(upImage, downImage, listener);
+  }
+
+  /**
    * Constructor for <code>PushButton</code>. The supplied text is used to
    * construct the default face of the button.
    *

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

Reply via email to