mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
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:
parent
b16b6aa2b6
commit
8d3ef364d3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue