2003/09/25 10:56:08
[org.ibex.core.git] / src / org / xwt / Main.java
index 9febf7c..25fc8e2 100644 (file)
@@ -81,8 +81,9 @@ public class Main {
         // FIXME put the splash screen back in
         if (Log.on) Log.log(Main.class, "loading xwar");
 
-        Res rr = Res.stringToRes(origin);
-        Template.getTemplate(((Res)rr.get(initialTemplateName)).addExtension(".xwt")).apply(new Box(), null, 0, 0, rr);
+        Res rr = Res.stringToRes(origin, true);
+        XWT xwt = new XWT(rr);
+        Template.getTemplate(((Res)rr.get(initialTemplateName)).addExtension(".xwt")).apply(new Box(), null, xwt);
 
         Message.Q.startQ();
     }