Taking this out for now.

This commit is contained in:
Ross Boucher
2009-11-17 10:26:58 -08:00
parent 11e6ad2153
commit f612683dfb
-15
View File
@@ -103,7 +103,6 @@ var CPControlBlackColor = [CPColor blackColor];
CGPoint _previousTrackingLocation;
CPString _toolTip;
Function _actionFunction;
}
+ (CPDictionary)themeAttributes
@@ -152,7 +151,6 @@ var CPControlBlackColor = [CPColor blackColor];
- (void)setAction:(SEL)anAction
{
_action = anAction;
_actionFunction = nil;
}
/*!
@@ -180,19 +178,6 @@ var CPControlBlackColor = [CPColor blackColor];
return _target;
}
- (void)setActionFunction:(Function)aFunction
{
[self setTarget:self];
[self setAction:@selector(performActionFunction:)];
_actionFunction = aFunction;
}
- (void)performActionFunction:(Object)sender
{
if (_actionFunction)
_actionFunction(sender);
}
/*!
Causes \c anAction to be sent to \c anObject.
@param anAction the action to send