> Here your code indicates that the "Load" menu item was selected, and 
> according to everything you show, "Load" does *not* have a submenu, so 
> everything is working as expected, unless you aren't selecting "Load", in 
> which case your problem isn't the same as you describe.

Apologies, I grabbed the wrong output. Below is the output taken from
selecting a submenu item ...

2009-11-18 20:24:40.341 test[6053:a0f] projectMenu = <NSMenu: 0x10045c540>
        Title: ProjectMenu
        Supermenu: 0x0 (None), autoenable: NO
        Items:     (
        "<NSMenuItem: 0x10045c3e0 >",
        "<NSMenuItem: 0x10045c650 Create, submenu: 0x10045c580 (Create)>",
        "<NSMenuItem: 0x10045d330 Load>",
        "<NSMenuItem: 0x10045d730 >",
        "<NSMenuItem: 0x10045d7b0 Save>",
        "<NSMenuItem: 0x10045d860 Save As ...>"
    )
2009-11-18 20:24:40.341 test[6053:a0f] menuItem <NSMenuItem: 0x10045c3e0 >
2009-11-18 20:24:40.342 test[6053:a0f] hasSubMenu 0
2009-11-18 20:24:40.342 test[6053:a0f] submenu (null)
2009-11-18 20:24:40.343 test[6053:a0f] end
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to