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:
Alexander Malmberg 2003-05-13 18:26:46 +00:00
parent 8184380380
commit 236f39512d

View file

@ -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];
}
//