diff options
Diffstat (limited to 'libjava/java/awt/Button.java')
-rw-r--r-- | libjava/java/awt/Button.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/awt/Button.java b/libjava/java/awt/Button.java index cee3ae7..2544e9e 100644 --- a/libjava/java/awt/Button.java +++ b/libjava/java/awt/Button.java @@ -38,7 +38,7 @@ public class Button extends Component public void addNotify () { if (peer == null) - peer = (ComponentPeer) getToolkit ().createButton (this); + peer = getToolkit ().createButton (this); super.addNotify(); } |