diff org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet24.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/Snippet24.d	Sun Mar 22 15:17:04 2009 +0100
+++ b/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet24.d	Sun Mar 22 19:55:00 2009 +0100
@@ -36,7 +36,7 @@
     shell.setLayout (new RowLayout ());
     Combo combo = new Combo (shell, SWT.NONE);
     combo.setItems (["A-1", "B-1", "C-1"]);
-    Text text = new Text (shell, SWT.SINGLE | DWT.BORDER);
+    Text text = new Text (shell, SWT.SINGLE | SWT.BORDER);
     text.setText ("some text");
     combo.addListener (SWT.DefaultSelection, new class() Listener{
         public void handleEvent (Event e) {