On removal from superview send move to nil window

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4176 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-04-30 18:42:07 +00:00
parent b16b6aa2b6
commit 8d3ef364d3

View file

@ -276,9 +276,9 @@ static SEL invalidateSel = @selector(_invalidateCoordinates);
if ([window firstResponder] == self)
[window makeFirstResponder: window];
views = [super_view subviews];
window = nil;
super_view = nil;
[views removeObjectIdenticalTo: self];
super_view = nil;
[self viewWillMoveToWindow: nil];
}
- (void) removeFromSuperview