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]];