added: #destroy
authorStefan Vogel <sv@exept.de>
Thu, 17 Dec 2009 14:22:32 +0100
changeset 2815 cb74506eb9e3
parent 2814 f75f27d92a5b
child 2816 a178bb3500fb
added: #destroy in order to work as a views's component
DisplayObject.st
--- a/DisplayObject.st	Fri Dec 04 14:38:27 2009 +0100
+++ b/DisplayObject.st	Thu Dec 17 14:22:32 2009 +0100
@@ -278,6 +278,13 @@
      VisualComponents (later, Image should inherit from it)"
 !
 
+destroy
+    "SimpleView>>destroySubviews wants to destroy us (if we are a view's component).
+     Do nothing here"
+
+    ^ self
+!
+
 realize
     "ignored here - added to allow images to be used like
      VisualComponents (later, Image should inherit from it)"
@@ -576,5 +583,9 @@
 !DisplayObject class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/DisplayObject.st,v 1.36 2009-05-08 11:22:02 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/DisplayObject.st,v 1.37 2009-12-17 13:22:32 stefan Exp $'
+!
+
+version_CVS
+    ^ '$Header: /cvs/stx/stx/libview2/DisplayObject.st,v 1.37 2009-12-17 13:22:32 stefan Exp $'
 ! !