mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:00:37 +00:00
Updated for change in NSCell ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5692 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b5f328d79c
commit
0a2a5d2a68
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ static Class controlClass;
|
||||||
|
|
||||||
- (void) setEnabled: (BOOL)flag
|
- (void) setEnabled: (BOOL)flag
|
||||||
{
|
{
|
||||||
_cell.is_enabled = flag;
|
_cell.is_disabled = !flag;
|
||||||
if (_control_view)
|
if (_control_view)
|
||||||
if ([_control_view isKindOfClass: controlClass])
|
if ([_control_view isKindOfClass: controlClass])
|
||||||
[(NSControl *)_control_view updateCell: self];
|
[(NSControl *)_control_view updateCell: self];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue