VisualPart.st
changeset 2672 5d7fd9552774
parent 2671 3e8b7f22722e
child 2673 fb475750ed7a
--- a/VisualPart.st	Sun May 10 16:08:28 2009 +0200
+++ b/VisualPart.st	Mon May 11 08:35:25 2009 +0200
@@ -248,7 +248,9 @@
 
 invalidate
     container notNil ifTrue:[
-        container invalidate:self bounds
+        (layout notNil or:[frame notNil]) ifTrue:[
+            container invalidate:self bounds
+        ]
     ]
 
     "Modified: / 18.6.1998 / 16:12:15 / cg"
@@ -378,5 +380,5 @@
 !VisualPart class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/VisualPart.st,v 1.18 2009-05-10 14:08:28 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/VisualPart.st,v 1.19 2009-05-11 06:35:25 cg Exp $'
 ! !