Mercurial > dwindows
changeset 936:4be0c9f963f8
Implement informational messagebox style on the Mac.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 26 Apr 2011 13:44:45 +0000 |
parents | 114729f5aedc |
children | 83aceaaef6ed |
files | mac/dw.m |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mac/dw.m Tue Apr 26 10:45:21 2011 +0000 +++ b/mac/dw.m Tue Apr 26 13:44:45 2011 +0000 @@ -2742,7 +2742,15 @@ iResponse = (int) NSRunCriticalAlertPanel([ NSString stringWithUTF8String:title ], [ NSString stringWithUTF8String:outbuf ], - button1, button2, button3); } + button1, button2, button3); + } + else if(flags & DW_MB_INFORMATION) + { + iResponse = (int) + NSRunInformationalAlertPanel([ NSString stringWithUTF8String:title ], + [ NSString stringWithUTF8String:outbuf ], + button1, button2, button3); + } else { iResponse = (int)