mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 13:10:52 +00:00
* 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:
parent
27d0e485e3
commit
156aef2436
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue