mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 04:40:48 +00:00
Restore call to delegate method which was lost a while ago.
This commit is contained in:
parent
928e44b65c
commit
88e318e5e8
2 changed files with 12 additions and 0 deletions
|
@ -1678,6 +1678,13 @@ void NSBeginAlertSheet(NSString *title,
|
|||
modalDelegate: modalDelegate
|
||||
didEndSelector: willEndSelector
|
||||
contextInfo: contextInfo];
|
||||
if (modalDelegate && [modalDelegate respondsToSelector: didEndSelector])
|
||||
{
|
||||
void (*didEnd)(id, SEL, id, NSInteger, void*);
|
||||
didEnd = (void (*)(id, SEL, id, NSInteger, void*))[modalDelegate
|
||||
methodForSelector: didEndSelector];
|
||||
didEnd(modalDelegate, didEndSelector, panel, [panel result], contextInfo);
|
||||
}
|
||||
|
||||
NSReleaseAlertPanel(panel);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue