Mercurial > projects > dwt-samples
changeset 172:d36bf485a753
merge
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 26 Oct 2008 14:07:19 +0100 |
parents | 0a21c7cabc16 (current diff) 5057d1475aee (diff) |
children | 33d9146198b2 |
files | |
diffstat | 2 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/user/RetryMessageBox.d Sun Oct 26 14:07:19 2008 +0100 @@ -0,0 +1,12 @@ +import dwt.std; +void main() { + Shell shell = new Shell(Display.getDefault()); + MessageBox.showMessageBox( + DWT.getMessage( "SWT_A_Sample_Text" ), + DWT.getMessage( "SWT_Sample" ), + shell, + DWT.ABORT|DWT.RETRY|DWT.IGNORE|DWT.ICON_QUESTION ); + Display.getDefault().dispose(); + return 0; +} +