Fix target-action

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3990 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-03-27 06:34:07 +00:00
parent 085cb484ad
commit 3f76d4ce1b
3 changed files with 34 additions and 4 deletions

View file

@ -257,6 +257,29 @@
[super dealloc];
}
//
// Target-actions stuff
//
- (void) setTarget: (id)t
{
_target = t;
}
- (id) target
{
return _target;
}
- (void) setAction: (SEL)s
{
_action = s;
}
- (SEL) action
{
return _action;
}
//
// Setting the Delegate
//