--- 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 $'
! !