diff org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet47.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
line wrap: on
line diff
--- a/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet47.d	Sun Mar 22 15:17:04 2009 +0100
+++ b/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet47.d	Sun Mar 22 19:55:00 2009 +0100
@@ -52,7 +52,7 @@
     gc.fillRectangle (hotImage.getBounds ());
     gc.dispose ();
     
-    ToolBar bar = new ToolBar (shell, SWT.BORDER | DWT.FLAT);
+    ToolBar bar = new ToolBar (shell, SWT.BORDER | SWT.FLAT);
     bar.setSize (200, 32);
     for (int i=0; i<12; i++) {
         ToolItem item = new ToolItem (bar, 0);