mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Removed unneeded action cell methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18790 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2fdd660c5b
commit
eb86d9eabb
2 changed files with 7 additions and 33 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-03-06 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSActionCell.m:
|
||||
Removed methods -setFloatValue:, -setIntValue: and setDoubleValue:
|
||||
|
||||
2004-03-06 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Header/AppKit/NSSavePanel.h:
|
||||
|
|
|
@ -199,6 +199,8 @@ static Class controlClass;
|
|||
/**
|
||||
* Set the value of the receiver from aString.
|
||||
*/
|
||||
// This method is currently needed, as NSCells implementation
|
||||
// does not call setObjectValue:
|
||||
- (void) setStringValue: (NSString*)aString
|
||||
{
|
||||
[super setStringValue: aString];
|
||||
|
@ -207,39 +209,6 @@ static Class controlClass;
|
|||
[(NSControl *)_control_view updateCell: self];
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value of the receiver from aDouble.
|
||||
*/
|
||||
- (void) setDoubleValue: (double)aDouble
|
||||
{
|
||||
[super setDoubleValue: aDouble];
|
||||
if (_control_view)
|
||||
if ([_control_view isKindOfClass: controlClass])
|
||||
[(NSControl *)_control_view updateCell: self];
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value of the receiver from aFloat.
|
||||
*/
|
||||
- (void) setFloatValue: (float)aFloat
|
||||
{
|
||||
[super setFloatValue: aFloat];
|
||||
if (_control_view)
|
||||
if ([_control_view isKindOfClass: controlClass])
|
||||
[(NSControl *)_control_view updateCell: self];
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value of the receiver from anInt.
|
||||
*/
|
||||
- (void) setIntValue: (int)anInt
|
||||
{
|
||||
[super setIntValue: anInt];
|
||||
if (_control_view)
|
||||
if ([_control_view isKindOfClass: controlClass])
|
||||
[(NSControl *)_control_view updateCell: self];
|
||||
}
|
||||
|
||||
/*
|
||||
* Target and Action
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue