I've created an NSAlert dialog as described here:
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Dialog/Tasks/UsingAlerts.html#//apple_ref/doc/uid/20000871-129009-BCIFAAEJ
 

When I run it using

   [alert runModal];

it shows up correctly but pressing a button doesn't do anything on 10.6. The
dialog isn't closed and just stays there. On 10.11, however, everything is
working correctly. Pressing a button closes the dialog and returns the id
of the button that has been pressed.

Since NSAlert is quite an essential class, I don't think that this is a bug
in 10.6 so I'm probably doing something wrong. Does anybody have an idea
what could cause this behaviour on 10.6 and how I can fix this?

-- 
Best regards,
 Andreas Falkenhahn                          mailto:andr...@falkenhahn.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to