]> gcc.gnu.org Git - gcc.git/commitdiff
BasicMenuUI.java (mousePressed): Remove illegal protected method calls.
authorBryce McKinlay <mckinlay@redhat.com>
Fri, 9 Jul 2004 23:42:19 +0000 (23:42 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Fri, 9 Jul 2004 23:42:19 +0000 (00:42 +0100)
2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>

* javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
illegal protected method calls.

From-SVN: r84421

libjava/ChangeLog
libjava/javax/swing/plaf/basic/BasicMenuUI.java

index 76cccd281d76088033eb09a1b33733e0c6f686ca..cadcd31d2c9dcab1316aa3f87dd5495401cb104b 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
+       illegal protected method calls.
+
 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
 
        Fix or remove some bogus test cases.
index 1953f480a8e389133b87a41778a6408d127947f3..60559a4a01e9cdef3fc3fa80bd33313dee132957 100644 (file)
@@ -342,7 +342,6 @@ public class BasicMenuUI extends BasicMenuItemUI
            {
              // If menu is visible and menu button was pressed.. 
              // then need to cancel the menu
-             menu.fireMenuCanceled();
              manager.clearSelectedPath();
            }
          else
@@ -351,7 +350,6 @@ public class BasicMenuUI extends BasicMenuItemUI
              int x = 0;
              int y = menu.getHeight();
 
-             menu.fireMenuSelected();
              manager.setSelectedPath(getPath());
 
              JMenuBar mb = (JMenuBar) menu.getParent();
This page took 0.07242 seconds and 5 git commands to generate.