From: megacz Date: Fri, 30 Jan 2004 07:01:35 +0000 (+0000) Subject: 2003/06/18 05:42:19 X-Git-Tag: RC3~886 X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=63506fabf6112011cce9d0e615142512c7359317;hp=a7461170c0a8eb03518235fe8514b460941a4918 2003/06/18 05:42:19 darcs-hash:20040130070135-2ba56-d97ecea3539beae6b273a0fe7e61a3637dc8827d.gz --- 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) {