From 63506fabf6112011cce9d0e615142512c7359317 Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 07:01:35 +0000 Subject: [PATCH] 2003/06/18 05:42:19 darcs-hash:20040130070135-2ba56-d97ecea3539beae6b273a0fe7e61a3637dc8827d.gz --- src/org/xwt/Box.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/xwt/Box.java b/src/org/xwt/Box.java index c50ff7b..30ec605 100644 --- a/src/org/xwt/Box.java +++ b/src/org/xwt/Box.java @@ -1182,7 +1182,7 @@ public final class Box extends JS.Scope { SpecialBoxProperty gph = (SpecialBoxProperty)SpecialBoxProperty.specialBoxProperties.get(name); if (gph != null) return gph.get(this); - Object ret = super.get(name); + Object ret = super.get((Object)name); if (name.startsWith("$") && ret == null) if (Log.on) Log.logJS(this, "WARNING: attempt to access " + name + ", but no child with id=\"" + name.substring(1) + "\" found"); return ret; @@ -1249,7 +1249,7 @@ public final class Box extends JS.Scope { return; } - super.put(name, value); + super.put((Object)name, value); // a bit of a hack, since titlebar is the only 'special' property stored in JSObject if (getParent() == null && surface != null) { -- 1.7.10.4