Re: NSBeginAlertSheet question
Re: NSBeginAlertSheet question
- Subject: Re: NSBeginAlertSheet question
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 28 Jun 2001 19:42:55 +0200
On jeudi, juin 28, 2001, at 05:18 PM, kristin wrote:
Hi Bill,
Thank you for pointing that out. Yes, I believe those constants
originated when the layout of the alert panel was different, and they
haven't been kept up to date. I will look into whether I can modify
them without introducing compatibility problems, but in the meantime I
would suggest you use NSAlertAlternateReturn as you mentioned.
Is this just an historical anomaly? Are the NSOKButton and
NSCancelButton
enumeration constants simply not supposed to be used with
NSBeginAlertSheet(), and never mind the potential for confusion?
The problem is also in the documentation where it's stated that
NSOKButton is 0 and NSCancelButton is 1.
Actually, it's the contrary in the code.
Please don't change the values for NSOKButton and NSCancelButton, fix
the documentation instead.