2003/08/14 05:16:08
[org.ibex.core.git] / src / org / xwt / Platform.java
index a64a515..c7ace6a 100644 (file)
@@ -391,7 +391,7 @@ public class Platform {
         if (refreshable) {
             Surface.refreshableSurfaceWasCreated = true;
             Surface.allSurfaces.addElement(ret);
-            ret.dirty(0, 0, ret.width, ret.height);
+            ret.dirty(0, 0, b.width, b.height);
             ret.Refresh();
         }
         return ret;