Re: NSMenuItem and NSValidatedUserInterfaceItem

2009-01-06 Thread Quentin Mathé
Le 6 janv. 09 à 06:12, Richard Frith-Macdonald a écrit : On 5 Jan 2009, at 21:15, Fred Kiefer wrote: This seems to be one of the possible solutions, another one would be to eliminate the usage of the protocol all together and have all the methods on NSMenu deal with NSMenuItems, just as

Re: NSMenuItem and NSValidatedUserInterfaceItem

2009-01-06 Thread Fred Kiefer
Quentin Mathé wrote: Le 6 janv. 09 à 06:12, Richard Frith-Macdonald a écrit : On 5 Jan 2009, at 21:15, Fred Kiefer wrote: This seems to be one of the possible solutions, another one would be to eliminate the usage of the protocol all together and have all the methods on NSMenu deal with

Re: NSMenuItem and NSValidatedUserInterfaceItem

2009-01-05 Thread Fred Kiefer
Quentin Mathé wrote: With r27415, NSMenuItem class was made conform to NSValidatedUserInterfaceItem. This causes a compilation warning when an object of the type id NSMenuItem is assigned to a variable of the type NSMenuItem *. For example, the following line currently causes a warning with

NSMenuItem and NSValidatedUserInterfaceItem

2009-01-04 Thread Quentin Mathé
Hi, With r27415, NSMenuItem class was made conform to NSValidatedUserInterfaceItem. This causes a compilation warning when an object of the type id NSMenuItem is assigned to a variable of the type NSMenuItem *. For example, the following line currently causes a warning with GNUstep