Implement NSActionCell.m (-setObjectValue:)

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16905 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2003-06-12 03:16:19 +00:00
parent a55cd8adda
commit f99a743b43
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2003-06-11 Dirk Latterman <dlatt@alqualonde.de>
* Source/NSActionCell.m (-setObjectValue:): Implemented.
2003-06-11 15:34 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSFontInfo.h, Source/GSFontInfo.m: Add

View file

@ -154,6 +154,14 @@ static Class controlClass;
return [super intValue];
}
- (void) setObjectValue: (NSString*)anObject
{
[super setObjectValue: anObject];
if (_control_view)
if ([_control_view isKindOfClass: controlClass])
[(NSControl *)_control_view updateCell: self];
}
- (void) setStringValue: (NSString*)aString
{
[super setStringValue: aString];