2003/06/18 05:42:19
[org.ibex.core.git] / 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) {