diff org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet10.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 ed96ea2a2764
line wrap: on
line diff
--- a/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet10.d	Sun Mar 22 15:17:04 2009 +0100
+++ b/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet10.d	Sun Mar 22 19:55:00 2009 +0100
@@ -39,7 +39,7 @@
     Shell shell = new Shell(display);
     shell.setText("Advanced Graphics");
     FontData fd = shell.getFont().getFontData()[0];
-    Font font = new Font(display, fd.getName(), 60., SWT.BOLD | DWT.ITALIC);
+    Font font = new Font(display, fd.getName(), 60., SWT.BOLD | SWT.ITALIC);
     Image image = new Image(display, 640, 480);
     Rectangle rect = image.getBounds();
     GC gc = new GC(image);