mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 23:31:02 +00:00
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:
parent
0f57866d9c
commit
965ceb22e7
2 changed files with 3 additions and 3 deletions
|
@ -473,7 +473,7 @@
|
|||
NSSize size;
|
||||
NSPoint point,oldPoint;
|
||||
|
||||
if (!_cell.is_enabled)
|
||||
if (_cell.is_disabled)
|
||||
return;
|
||||
|
||||
if (![self controlView])
|
||||
|
|
|
@ -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]];
|
||||
|
|
Loading…
Reference in a new issue