Re: Tiger-style toolbars
Re: Tiger-style toolbars
- Subject: Re: Tiger-style toolbars
- From: Seth Willits <email@hidden>
- Date: Fri, 18 Nov 2005 16:48:05 -0800
On Nov 18, 2005, at 3:32 PM, Uli Kusterer wrote:
Am 18.11.2005 um 16:01 schrieb I. Savant:
You can do things only for specific OS versions by using the
following:
#ifdef MAC_OS_X_VERSION_10_4
//10.4-specific code here
#endif
I think you meant to write: (untested, written in Mail):
unsigned long versNum;
if( noErr == Gestalt( gestaltSystemVersion, &versNum ) && versNum
>= 0x1040 )
tenfourspecificmethod();
Now if you compile that on 10.4 and run it on 10.3 will actually run
without some kind of framework version error?
Seth Willits
----------------------------------------------------------
Freak Software - http://www.freaksw.com/
ResExcellence - http://www.resexcellence.com/realbasic/
----------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden