2002/08/18 05:27:01
[org.ibex.core.git] / src / org / xwt / Box.java
index 86eb459..1a1f672 100644 (file)
@@ -1314,7 +1314,7 @@ public final class Box extends JSObject {
     /** remove this node from its parent; INVARIANT: whenever the parent of a node is changed, remove() gets called. */
     public void remove() {
         if (parent == null) {
-            if (surface != null) surface.dispose();
+            if (surface != null) surface.dispose(true);
             return;
         }
         Box oldparent = getParent();