SimpleView.st
branchjv
changeset 7600 8b42a8f0f649
parent 7599 84f6853ec60d
parent 7593 08e1e5e86005
child 7715 925b859e1758
--- a/SimpleView.st	Mon Oct 03 12:49:54 2016 +0100
+++ b/SimpleView.st	Sun Oct 09 22:55:22 2016 +0100
@@ -10111,14 +10111,18 @@
      are known to ignore this ..."
 
     realized ifFalse:[
-        "
-         now, make the view visible
-        "
-        realized := true.
-        device
-            mapView:self id:self drawableId iconified:false
-            atX:left y:top width:width height:height
-            minExtent:(self minExtent) maxExtent:(self maxExtent)
+        self drawableId isNil ifTrue:[
+            self realize
+        ] ifFalse:[    
+            "
+             now, make the view visible
+            "
+            realized := true.
+            device
+                mapView:self id:self drawableId iconified:false
+                atX:left y:top width:width height:height
+                minExtent:(self minExtent) maxExtent:(self maxExtent)
+        ]
     ]
 
     "Created: 8.5.1996 / 09:33:06 / cg"