From 965ceb22e77b06d6dd6c5eedcacebdd7effc1401 Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Fri, 7 Jan 2000 18:31:19 +0000 Subject: [PATCH] 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 --- Source/NSComboBoxCell.m | 2 +- Source/NSMenuItemCell.m | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/NSComboBoxCell.m b/Source/NSComboBoxCell.m index 8e8bfbdd1..3274703db 100644 --- a/Source/NSComboBoxCell.m +++ b/Source/NSComboBoxCell.m @@ -473,7 +473,7 @@ NSSize size; NSPoint point,oldPoint; - if (!_cell.is_enabled) + if (_cell.is_disabled) return; if (![self controlView]) diff --git a/Source/NSMenuItemCell.m b/Source/NSMenuItemCell.m index 04fa25a8b..2b7e47cf0 100644 --- a/Source/NSMenuItemCell.m +++ b/Source/NSMenuItemCell.m @@ -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]];