Re: objc_next_class

2002-06-14 Thread Nicola Pero
I'm not sure what the original problem is, but just in case it's not obvious, the code would fail (as Nicola notes below) because it would raise an exception and crash as it iterates past the Object class - NSLog() uses the -description method to log the class 'cl', but Object does not

Re: Fix: NSMenu.m, -performActionForItemAtIndex:

2002-06-14 Thread Nicola Pero
Hi Georg, thanks - looking at the code and API, wouldn't maybe be better that -performActionForItemAtIndex: does not perform any highlighting, and the caller performs it instead ? do you think it would be a good change ? Hi again, here is a patch for PopUp Menus, which selects the item

Re: Fix: NSMenu.m, -performActionForItemAtIndex:

2002-06-14 Thread Georg Fleischmann
Hi Nicola, thanks - looking at the code and API, wouldn't maybe be better that -performActionForItemAtIndex: does not perform any highlighting, and the caller performs it instead ? do you think it would be a good change ? The performAction is called from [NSMenuView -trackWithEvent:] (for