mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-22 07:02:38 +00:00
Minor fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6246 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
be4a31f88f
commit
698fccdc8b
4 changed files with 311 additions and 289 deletions
|
@ -207,6 +207,22 @@ static Class rulerViewClass = nil;
|
|||
[self tile];
|
||||
}
|
||||
|
||||
- (void) _removeSubview: (NSView*)aView
|
||||
{
|
||||
if (aView == _contentView)
|
||||
{
|
||||
RETAIN(aView);
|
||||
_contentView = nil;
|
||||
[super _removeSubview: aView];
|
||||
RELEASE(aView);
|
||||
[self tile];
|
||||
}
|
||||
else
|
||||
{
|
||||
[super _removeSubview: aView];
|
||||
}
|
||||
}
|
||||
|
||||
- (void) setHorizontalScroller: (NSScroller*)aScroller
|
||||
{
|
||||
[_horizScroller removeFromSuperview];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue