FramedBox.st
changeset 5527 e19e3e903172
parent 5477 931002803ea7
child 5640 c3cdd13823ce
--- a/FramedBox.st	Tue Dec 22 04:41:47 2015 +0000
+++ b/FramedBox.st	Thu Jan 07 14:04:41 2016 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1991 by Claus Gittinger
 	      All Rights Reserved
@@ -419,7 +417,7 @@
 
     <resource:#obsolete>
 
-    something isLayout ifTrue:[^ super layout:something].
+    (something isNil or:[something isLayout]) ifTrue:[^ super layout:something].
 
     self obsoleteMethodWarning:'use #labelPosition:'.
     ^ self labelPosition:something