mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 19:01:54 +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
384f64e87e
commit
471c112e9d
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>
|
2010-01-26 Eric Wasylishen <ewasylishen@gmail.com>
|
||||||
|
|
||||||
* Source/NSView.m (-setHidden:): Fix un-hiding of hidden views, loaded
|
* Source/NSView.m (-setHidden:): Fix un-hiding of hidden views, loaded
|
||||||
|
|
|
@ -2789,6 +2789,7 @@ in the main thread.
|
||||||
[GSDisplayServer removeDragTypes: t fromWindow: _window];
|
[GSDisplayServer removeDragTypes: t fromWindow: _window];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
[[self superview] setNeedsDisplay: YES];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -2813,8 +2814,8 @@ in the main thread.
|
||||||
[_sub_views makeObjectsPerformSelector:
|
[_sub_views makeObjectsPerformSelector:
|
||||||
@selector(_invalidateCoordinates)];
|
@selector(_invalidateCoordinates)];
|
||||||
}
|
}
|
||||||
|
[self setNeedsDisplay: YES];
|
||||||
}
|
}
|
||||||
[self setNeedsDisplay: YES];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL) isHidden
|
- (BOOL) isHidden
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue