Mercurial > projects > dwt-samples
view user/RetryMessageBox.d @ 168:5057d1475aee
Add example for language file support.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 19 Oct 2008 02:48:51 +0200 |
parents | |
children |
line wrap: on
line source
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; }