mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 10:40:47 +00:00
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:
parent
4bb166cb5d
commit
73ae595130
7 changed files with 50 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue