mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-22 01:11:46 +00:00
Mark the view as needing display, don't force a display.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16716 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8184380380
commit
236f39512d
1 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ id _nsbuttonCellClass = nil;
|
|||
- (void) setState: (int)value
|
||||
{
|
||||
[_cell setState: value];
|
||||
[self display];
|
||||
[self setNeedsDisplay: YES];
|
||||
}
|
||||
|
||||
- (int) state
|
||||
|
@ -128,7 +128,7 @@ id _nsbuttonCellClass = nil;
|
|||
- (void)setNextState
|
||||
{
|
||||
[_cell setNextState];
|
||||
[self display];
|
||||
[self setNeedsDisplay: YES];
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue