diff org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet130a.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 8ae65ae167f5
line wrap: on
line diff
--- a/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet130a.d	Sun Mar 22 15:17:04 2009 +0100
+++ b/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet130a.d	Sun Mar 22 19:55:00 2009 +0100
@@ -49,7 +49,7 @@
         Display display = new Display();
         Shell shell = new Shell(display);
         shell.setLayout(new GridLayout());
-        Text text = new Text(shell, SWT.MULTI | DWT.BORDER | DWT.V_SCROLL);
+        Text text = new Text(shell, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL);
         text.setLayoutData(new GridData(GridData.FILL_BOTH));
         int[] nextId = new int[1];
         Button b = new Button(shell, SWT.PUSH);