remember parentHandle
authorClaus Gittinger <cg@exept.de>
Mon, 12 Jul 2004 16:05:36 +0200
changeset 4201 54d45d7ea160
parent 4200 ef9f995f1d20
child 4202 a82c1cbb8d30
remember parentHandle
DisplaySurface.st
--- a/DisplaySurface.st	Mon Jul 12 16:05:14 2004 +0200
+++ b/DisplaySurface.st	Mon Jul 12 16:05:36 2004 +0200
@@ -2020,10 +2020,13 @@
     "redefined for faster creation of finalization copies
      (only device, gcId and drawableId are needed)"
 
-    |aCopy|
+    |aCopy container parentId|
+
+    container := self container.
+    container notNil ifTrue:[ parentId := container id ].
 
     aCopy := DeviceViewHandle basicNew.
-    aCopy setDevice:device id:drawableId gcId:gcId.
+    aCopy setDevice:device id:drawableId gcId:gcId parentId:parentId.
     ^ aCopy
 
     "Created: 3.5.1996 / 15:35:13 / stefan"
@@ -2402,7 +2405,7 @@
 !DisplaySurface class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/DisplaySurface.st,v 1.112 2004-04-02 15:30:44 werner Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/DisplaySurface.st,v 1.113 2004-07-12 14:05:36 cg Exp $'
 ! !
 
 DisplaySurface initialize!