diff dwt/dnd/DragSourceEvent.d @ 122:2e671fa40eec

Ported dwt.dnd, dwt.opengl, dwt.printing and dwt.program
author Jacob Carlborg <doob@me.com>
date Wed, 31 Dec 2008 21:01:13 +0100
parents d5f4a7c8aa74
children
line wrap: on
line diff
--- a/dwt/dnd/DragSourceEvent.d	Wed Dec 31 16:50:37 2008 +0100
+++ b/dwt/dnd/DragSourceEvent.d	Wed Dec 31 21:01:13 2008 +0100
@@ -20,6 +20,7 @@
 
 import dwt.dnd.DNDEvent;
 import dwt.dnd.TransferData;
+import dwt.widgets.Event;
 
 /**
  * The DragSourceEvent contains the event information passed in the methods of the DragSourceListener.
@@ -106,7 +107,7 @@
  * @param e the untyped event containing the information
  */
 public this(DNDEvent e) {
-    super(e);
+    super(cast(Event) e);
     this.data = e.data;
     this.detail = e.detail;
     this.doit = e.doit;