* Source/NSScrollView.m: If the scrollview has scrollers,

don't pay attention to the hidden flag in nib loading.
	* Source/NSTableView.m: if the table has a cornerview, don't
	pay attention to the hidden flag in nib loading.  
	NOTE: In both instances it appears that Cocoa sets the hidden flag 
	when autohide is set to true.   GNUstep handles this case differently,
	so it's okay to ignore this flag when the scroller is in an
	NSScrollView.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28231 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2009-04-19 03:23:11 +00:00
parent e66027b906
commit 8369481079
3 changed files with 21 additions and 6 deletions

View file

@ -5746,7 +5746,9 @@ static BOOL selectContiguousRegion(NSTableView *self,
forClassName: @"_NSCornerView"];
if ([aDecoder containsValueForKey: @"NSCornerView"])
{
[self setCornerView: [aDecoder decodeObjectForKey: @"NSCornerView"]];
NSView *aView = [aDecoder decodeObjectForKey: @"NSCornerView"];
[self setCornerView: aView];
[aView setHidden: NO];
}
else
{