Re: Issues with NSWindowDelegate on multiple Mac OS X platforms

2009-10-07 Thread Jean-Daniel Dupas
Le 7 oct. 2009 à 06:42, Kyle Sluder a écrit : Please read the 10.6 Foundation release notes, particularly the section entitled Formal protocol adoption: http://developer.apple.com/mac/library/releasenotes/Cocoa/Foundation.html We compile dual-mode code using the following: @interface

Re: Issues with NSWindowDelegate on multiple Mac OS X platforms

2009-10-07 Thread Kyle Sluder
On Tue, Oct 6, 2009 at 11:23 PM, Jean-Daniel Dupas devli...@shadowlab.org wrote: That's the way to go, but MAC_OS_X_VERSION_10_6 is not defined on 10.5 SDK. Grr, yes, you are of course correct. So you have to add another couple of line at the top of the file (or in a prefix header): I always

Re: Issues with NSWindowDelegate on multiple Mac OS X platforms

2009-10-06 Thread Kyle Sluder
Please read the 10.6 Foundation release notes, particularly the section entitled Formal protocol adoption: http://developer.apple.com/mac/library/releasenotes/Cocoa/Foundation.html We compile dual-mode code using the following: @interface Subclass : Superclass #if MAC_OS_X_VERSION_MIN_REQUIRED =