diff dwt/widgets/Display.d @ 129:ad4e1fe71a5a

Fixed runtime errors
author Jacob Carlborg <doob@me.com>
date Sun, 18 Jan 2009 18:39:46 +0100
parents 07399639c0c8
children a45406361e44
line wrap: on
line diff
--- a/dwt/widgets/Display.d	Sat Jan 17 16:26:49 2009 +0100
+++ b/dwt/widgets/Display.d	Sun Jan 18 18:39:46 2009 +0100
@@ -95,6 +95,8 @@
 import dwt.widgets.Tray;
 import dwt.widgets.Widget;
 
+import tango.io.Stdout;
+
 /**
  * Instances of this class are responsible for managing the
  * connection between DWT and the underlying operating
@@ -3569,7 +3571,7 @@
         }
         Control control = null;
         if (view !is null) {
-            do {
+            do {auto vi = view.id;
                 Widget widget = getWidget (view);
                 if (cast(Control) widget) {
                     control = cast(Control)widget;