Greetings,

I have this code which works fine with 10.7.2, but on a PPC with 10.4 it fails:

Constructor:
RunningComputersMenu=new CNSMenuItem
RunningComputersMenu.CreateMenuItem(CstStrMenuDisc)
RunningComputersMenu.ID=83

Build method:
RunningComputersMenu.menu.removeAllItems
etc.…

CNSMenuItem is a subclass of NSMenuMBS. The crashing line is 
RunningComputersMenu.menu.removeAllItems (I get a NSExceptionMBS exception: "A 
Cocoa NSInvalidArgumentException was not handled: *** -[MyNSMenuMBS 
removeAllItems]: selector not recognized [self= <hex>] UnknownException."). 
Since I'm not doing something special (at least, up to the offending line), I'm 
guessing the OS is unsupported (no other idea). The documentation doesn't tell 
me this. An idea?
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to