* Source/NSView.m (-setHidden:): When hiding a view, we need to

call -setNeedsDisplay:YES on the superview, rather than self


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29417 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Eric Wasylishen 2010-01-27 08:31:19 +00:00
parent 27d0e485e3
commit 156aef2436
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-01-26 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSView.m (-setHidden:): When hiding a view, we need to
call -setNeedsDisplay:YES on the superview, rather than self
2010-01-26 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSView.m (-setHidden:): Fix un-hiding of hidden views, loaded

View file

@ -2789,6 +2789,7 @@ in the main thread.
[GSDisplayServer removeDragTypes: t fromWindow: _window];
}
}
[[self superview] setNeedsDisplay: YES];
}
else
{
@ -2813,8 +2814,8 @@ in the main thread.
[_sub_views makeObjectsPerformSelector:
@selector(_invalidateCoordinates)];
}
[self setNeedsDisplay: YES];
}
[self setNeedsDisplay: YES];
}
- (BOOL) isHidden