From: Bryce McKinlay Date: Fri, 9 Jul 2004 23:42:19 +0000 (+0000) Subject: BasicMenuUI.java (mousePressed): Remove illegal protected method calls. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42c007520db28720f6d7bcb42be2e45b07b5e84c;p=gcc.git BasicMenuUI.java (mousePressed): Remove illegal protected method calls. 2004-07-09 Bryce McKinlay * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove illegal protected method calls. From-SVN: r84421 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 76cccd281d7..cadcd31d2c9 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2004-07-09 Bryce McKinlay + + * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove + illegal protected method calls. + 2004-07-09 Bryce McKinlay Fix or remove some bogus test cases. diff --git a/libjava/javax/swing/plaf/basic/BasicMenuUI.java b/libjava/javax/swing/plaf/basic/BasicMenuUI.java index 1953f480a8e..60559a4a01e 100644 --- a/libjava/javax/swing/plaf/basic/BasicMenuUI.java +++ b/libjava/javax/swing/plaf/basic/BasicMenuUI.java @@ -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();