Mercurial > projects > dwt2
diff org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet39.d @ 29:4e5843b771cc
First snippets buildable on windows
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 22 Mar 2009 19:55:00 +0100 |
parents | 69b1fa94a4a8 |
children | 9f4c18c268b2 |
line wrap: on
line diff
--- a/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet39.d Sun Mar 22 15:17:04 2009 +0100 +++ b/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet39.d Sun Mar 22 19:55:00 2009 +0100 @@ -35,8 +35,8 @@ Shell shell = new Shell(display); shell.setLayout(new GridLayout()); - CCombo combo = new CCombo(shell, SWT.FLAT | DWT.BORDER); - combo.setLayoutData(new GridData(SWT.FILL, DWT.CENTER, true, false)); + CCombo combo = new CCombo(shell, SWT.FLAT | SWT.BORDER); + combo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false)); for (int i = 0; i < 5; i++) { combo.add("item" ~ to!(char[])(i)); }