mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 23:31:02 +00:00
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:
parent
be605726da
commit
8e82e5c3b9
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue