FramedBox.st
changeset 2913 bdf4fb09cfc0
parent 2614 9dd0e44e894e
child 2947 31726ebce2a4
--- a/FramedBox.st	Wed Feb 25 17:14:23 2004 +0100
+++ b/FramedBox.st	Thu Feb 26 13:20:04 2004 +0100
@@ -283,9 +283,7 @@
 
     (font ~= aFont) ifTrue:[
         super font:aFont.
-        shown ifTrue:[
-            self invalidate
-        ]
+        self invalidate
     ]
 
     "Modified: / 6.6.1998 / 20:05:05 / cg"
@@ -302,9 +300,7 @@
 
     aColor ~= fgColor ifTrue:[
         fgColor := aColor.
-        shown ifTrue:[
-            self invalidateRepairNow:true
-        ]
+        self invalidateRepairNow:true
     ]
 
     "Modified: / 6.6.1998 / 19:23:14 / cg"
@@ -370,9 +366,7 @@
         ] ifFalse:[
             label := aStringOrImage.
         ].
-        shown ifTrue:[
-            self invalidateRepairNow:true
-        ]
+        self invalidateRepairNow:true
     ]
 
     "Modified: / 5.9.1995 / 17:20:05 / claus"
@@ -394,9 +388,7 @@
 
     labelPosition ~~ aSymbol ifTrue:[
         labelPosition := aSymbol.
-        shown ifTrue:[
-            self invalidate
-        ]
+        self invalidate
     ]
 
     "Modified: / 6.6.1998 / 20:04:22 / cg"
@@ -450,9 +442,7 @@
 
     aBoolean ~~ showFrame ifTrue:[
         showFrame := aBoolean.
-        shown ifTrue:[
-            self invalidate
-        ]
+        self invalidate
     ]
 
     "Modified: / 6.6.1998 / 20:03:50 / cg"
@@ -644,9 +634,7 @@
 !FramedBox methodsFor:'event handling'!
 
 sizeChanged:how
-    shown ifTrue:[
-        self invalidate.
-    ].
+    self invalidate.
     super sizeChanged:how
 
     "Modified: 8.2.1997 / 15:19:52 / cg"
@@ -771,5 +759,5 @@
 !FramedBox class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/FramedBox.st,v 1.45 2002-09-12 13:58:54 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/FramedBox.st,v 1.46 2004-02-26 12:19:52 cg Exp $'
 ! !