Pass correct arguments to the didEndSelector passed to NSAlert's

-beginSheetModalForWindow:delegate:didEndSelector:contextInfo: method.
Fix swapping of title and informative message text in NSAlerts. Also
supply a default title "Alert" if none is set.
Determine key equivalent of NSAlert buttons from their localized titles.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27010 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2008-11-05 22:47:50 +00:00
parent edd9b4a68a
commit c1fd62315e
2 changed files with 23 additions and 6 deletions

View file

@ -66,6 +66,8 @@ enum {
id _delegate;
NSAlertStyle _style;
BOOL _shows_help;
id _modalDelegate;
SEL _didEndSelector;
int _result;
}