Updated for change in NSCell ivar

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5696 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2000-01-07 18:31:19 +00:00
parent 0f57866d9c
commit 965ceb22e7
2 changed files with 3 additions and 3 deletions

View file

@ -473,7 +473,7 @@
NSSize size;
NSPoint point,oldPoint;
if (!_cell.is_enabled)
if (_cell.is_disabled)
return;
if (![self controlView])

View file

@ -517,9 +517,9 @@ static NSImage *arrowImageH = nil;
inView:(NSView *)controlView
{
if ([mcell_item isEnabled])
_cell.is_enabled = YES;
_cell.is_disabled = NO;
else
_cell.is_enabled = NO;
_cell.is_disabled = YES;
[self _drawText: [mcell_item title]
inFrame: [self titleRectForBounds: cellFrame]];