oops - do not mix class & instance in canvas-slot
authorClaus Gittinger <cg@exept.de>
Tue, 01 Jul 2003 21:31:24 +0200
changeset 1729 cf1c2f488ba8
parent 1728 8247a19e2262
child 1730 96674f49b8d7
oops - do not mix class & instance in canvas-slot
UIGalleryView.st
--- a/UIGalleryView.st	Mon Jun 30 15:23:50 2003 +0200
+++ b/UIGalleryView.st	Tue Jul 01 21:31:24 2003 +0200
@@ -259,12 +259,11 @@
 initialize
     "setup default attributes
     "
-    canvas := Canvas.
+    canvas := Canvas in:self.
 
     super initialize.
 
     self action:[:something| self selectionHasChanged ].
-
 !
 
 release