mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 08:50:57 +00:00
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:
parent
edd9b4a68a
commit
c1fd62315e
2 changed files with 23 additions and 6 deletions
|
@ -66,6 +66,8 @@ enum {
|
|||
id _delegate;
|
||||
NSAlertStyle _style;
|
||||
BOOL _shows_help;
|
||||
id _modalDelegate;
|
||||
SEL _didEndSelector;
|
||||
int _result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue