Remove most uses of the method [NSView -removeSubview:].

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33047 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2011-05-15 14:42:08 +00:00
parent 4bb166cb5d
commit 73ae595130
7 changed files with 50 additions and 21 deletions

View file

@ -278,7 +278,7 @@ static float scrollerWidth;
[self tile];
}
- (void) removeSubview: (NSView *)aView
- (void) willRemoveSubview: (NSView *)aView
{
if (aView == _contentView)
{
@ -292,7 +292,7 @@ static float scrollerWidth;
{
_cornerView = nil;
}
[super removeSubview: aView];
[super willRemoveSubview: aView];
}
- (void) setHorizontalScroller: (NSScroller*)aScroller