UIPainterView.st
changeset 1058 243d945b1daf
parent 1050 355a8ff451b6
child 1060 0332a41de5c5
--- a/UIPainterView.st	Wed Mar 17 16:31:03 1999 +0100
+++ b/UIPainterView.st	Thu Mar 18 15:47:39 1999 +0100
@@ -1048,7 +1048,7 @@
         ^ code
     ].
 
-    specArray := treeView generateFullSpecForComponents:#().
+    specArray := treeView generateFullSpecForComponents:#() named:nil.
     fullSpec := specArray decodeAsLiteralArray.
     winSpec := fullSpec window.
     menuSelector := winSpec menu.
@@ -1121,7 +1121,8 @@
             spec add:(self fullSpecFor:aView)
         ]
     ].
-    spec := treeView generateFullSpecForComponents:spec.
+
+    spec := treeView generateFullSpecForComponents:spec named:methodName.
     str  := WriteStream on:String new.
     UISpecification prettyPrintSpecArray:spec on:str indent:5.
     specCode := str contents.