* Source/NSSplitView.m: Set subviews to resize when loaded from

the nib. 
	* Source/NSView.m: Partial revert of previous change.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28201 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2009-04-10 19:00:20 +00:00
parent 92efd93b0c
commit cdbc241fc0
3 changed files with 15 additions and 5 deletions

View file

@ -4486,13 +4486,9 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
// We are lucky here, Apple use the same constants
// in the lower bits of the flags
[self setAutoresizingMask: vFlags & 0x3F];
[self setAutoresizesSubviews: YES]; // ((vFlags & 0x100) == 0x100)];
[self setAutoresizesSubviews: ((vFlags & 0x100) == 0x100)];
[self setHidden: ((vFlags & 0x80000000) == 0x80000000)];
}
else
{
[self setAutoresizesSubviews: YES]; // ((vFlags & 0x100) == 0x100)];
}
// iterate over subviews and put them into the view...
subs = [aDecoder decodeObjectForKey: @"NSSubviews"];