* 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:
ericwa 2010-01-27 08:31:19 +00:00
parent 384f64e87e
commit 471c112e9d
2 changed files with 7 additions and 1 deletions

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