Mercurial > projects > dwt-samples
view user/RetryMessageBox.d @ 179:89de7ff0752c default tip
Add JFace snippet Snippet054NativeControlsInViewers, thanks to WasserDragoon
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 29 Apr 2009 11:01:41 +0200 |
parents | 5057d1475aee |
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; }