Re: validateUserInterfaceItem problem

2013-08-29 Thread Pax
Ah okay. Well that's easily fixed then (and has been). Thanks for your explanation. On 29 Aug 2013, at 14:42, Keary Suska wrote: > These two methods are implemented by NSWindow, and chances are the window is > gobbling up the actions because it is earlier in the responder chain: > https://

Re: validateUserInterfaceItem problem

2013-08-29 Thread Keary Suska
On Aug 29, 2013, at 6:38 AM, Pax wrote: > I've written some code to enable / disable the menu items of my NSDocument > based application, as appropriate. It works for methods that I've written > myself, but not (apparently) for ones that are provided for me. > > Here's the code (simplified sli

validateUserInterfaceItem problem

2013-08-29 Thread Pax
I've written some code to enable / disable the menu items of my NSDocument based application, as appropriate. It works for methods that I've written myself, but not (apparently) for ones that are provided for me. Here's the code (simplified slightly just to say return 'NO' - a quick test to se