From f612683dfb1f7d71430e877dcd10d72e2489494c Mon Sep 17 00:00:00 2001 From: Ross Boucher Date: Tue, 17 Nov 2009 10:26:58 -0800 Subject: [PATCH] Taking this out for now. --- AppKit/CPControl.j | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/AppKit/CPControl.j b/AppKit/CPControl.j index ca39efb1f..f9ddc817e 100644 --- a/AppKit/CPControl.j +++ b/AppKit/CPControl.j @@ -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