FROM : Bill Cheeseman
DATE : Mon Nov 11 12:23:00 2002
on 02-11-10 7:11 PM, Ondra Cada at <email_removed> wrote:
> On Saturday, November 9, 2002, at 04:40 , Marco Scheurer wrote:
>
>> Is that true? The following code, in a category of NSTextField, compiled
>> on 10.2 does not break on 10.1.x (text field is not rounded).
>>
>> - (void) beRounded
>> {
>> if (IsJaguarOrLater()) {
>> [self setBezeled:YES];
>> [self setBezelStyle:NSTextFieldRoundedBezel];
>> }
>> }
>>
>> Not only the NSTextFieldRoundedBezel constant, but also the setBezelStyle
>> method are new to 10.2.
>
> Wow -- you sure? With the method it is just natural, but with constants it
> should not work, so far as I understand how the linker behaves :-O :-O
These are enumeration constants in a typedef. That's different from an
external constant, isn't it? I thought the issue with dyld was just external
constants.
--
Bill Cheeseman - <email_removed>
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Mon Nov 11 12:23:00 2002
on 02-11-10 7:11 PM, Ondra Cada at <email_removed> wrote:
> On Saturday, November 9, 2002, at 04:40 , Marco Scheurer wrote:
>
>> Is that true? The following code, in a category of NSTextField, compiled
>> on 10.2 does not break on 10.1.x (text field is not rounded).
>>
>> - (void) beRounded
>> {
>> if (IsJaguarOrLater()) {
>> [self setBezeled:YES];
>> [self setBezelStyle:NSTextFieldRoundedBezel];
>> }
>> }
>>
>> Not only the NSTextFieldRoundedBezel constant, but also the setBezelStyle
>> method are new to 10.2.
>
> Wow -- you sure? With the method it is just natural, but with constants it
> should not work, so far as I understand how the linker behaves :-O :-O
These are enumeration constants in a typedef. That's different from an
external constant, isn't it? I thought the issue with dyld was just external
constants.
--
Bill Cheeseman - <email_removed>
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.






Cocoa mail archive

