diff org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet134.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 536e43f63c81
line wrap: on
line diff
--- a/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet134.d	Sun Mar 22 15:17:04 2009 +0100
+++ b/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet134.d	Sun Mar 22 19:55:00 2009 +0100
@@ -56,7 +56,7 @@
 void main(char[][] args) {
     display = new Display();
     //Shell must be created with style SWT.NO_TRIM
-    shell = new Shell(display, SWT.NO_TRIM | DWT.ON_TOP);
+    shell = new Shell(display, SWT.NO_TRIM | SWT.ON_TOP);
     shell.setBackground(display.getSystemColor(SWT.COLOR_RED));
     //define a region that looks like a key hole
     Region region = new Region();