>Number: 1862 >Category: gnustep >Synopsis: OpenStep API Non-conformance with NSMenuItem >Confidential: no >Severity: non-critical >Priority: medium >Responsible: fedor >State: open >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Fri Aug 18 16:20:01 EDT 2000 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: net >Release: 0.6.6 (Head) >Environment: Linux Red Hat 5.x or 6.x >Description: Call -[<aMenuItem> setSubmenu:<aSubmenu>] fails to setup the target and action of the <aMenuItem>. It should, after the assignment call [self setTarget:<aSubmenu>]; [self setAction:@selector(submenuAction:)]; Which will cause it the correctly copy the behavior of Apple's own NSMenuItem class, at least as of release WOF 4.5 for NT. >How-To-Repeat: Manually add a submenu via -[NSMenuItem setSubmenu:], rather than [NSMenu setSubmenu:forItem:]. %0 >Fix: >Audit-Trail: >Unformatted:
