2003/06/18 05:42:19
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:01:35 +0000 (07:01 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:01:35 +0000 (07:01 +0000)
darcs-hash:20040130070135-2ba56-d97ecea3539beae6b273a0fe7e61a3637dc8827d.gz

src/org/xwt/Box.java

index c50ff7b..30ec605 100644 (file)
@@ -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) {