Added methods [setAction:] and [setTarget:], which call the super

implementation and also update the menu.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11142 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2001-10-14 21:36:12 +00:00
parent be605726da
commit 8e82e5c3b9

View file

@ -593,6 +593,18 @@ static NSImage *_pbc_image[2];
return s;
}
- (void) setAction: (SEL)aSelector
{
[super setAction: aSelector];
[_menu update];
}
- (void) setTarget: (id)anObject
{
[super setTarget: anObject];
[_menu update];
}
//
// NSCoding protocol
//