replace obsolete method invocation
authorStefan Vogel <sv@exept.de>
Mon, 05 Mar 2007 14:34:02 +0100
changeset 3193 92cab090c80d
parent 3192 a64a9c9143c4
child 3194 786a292ce48c
replace obsolete method invocation
NoteBookView.st
--- a/NoteBookView.st	Mon Mar 05 13:46:53 2007 +0100
+++ b/NoteBookView.st	Mon Mar 05 14:34:02 2007 +0100
@@ -257,8 +257,8 @@
 !
 
 canvas:newCanvas
-    "change the canvas; the containter view
-    "
+    "change the canvas; the container view"
+
     |oldCanvas winGrp hadFocus initialFocusView|
 
     oldCanvas := canvas.
@@ -266,7 +266,7 @@
     newCanvas ~~ oldCanvas ifTrue:[
         winGrp := self windowGroup.
         (oldCanvas notNil and:[winGrp notNil]) ifTrue:[
-            hadFocus := (winGrp focusView notNil and:[winGrp focusView isSubViewOf:oldCanvas]).
+            hadFocus := (winGrp focusView notNil and:[winGrp focusView isComponentOf:oldCanvas]).
         ] ifFalse:[
             hadFocus := false.
         ].
@@ -3439,5 +3439,5 @@
 !NoteBookView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/NoteBookView.st,v 1.129 2007-03-02 17:27:10 ca Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/NoteBookView.st,v 1.130 2007-03-05 13:34:02 stefan Exp $'
 ! !