diff mde/gui/widget/Widget.d @ 76:65780e0e48e6

Re-enabled click event passing in the gui to make ButtonWidget work. Bugfix (pass void* not class reference). Change to allow compilation with dmd 1.027 (don't use DefaultData's Arg!() template).
author Diggory Hardy <diggory.hardy@gmail.com>
date Mon, 28 Jul 2008 18:49:18 +0100
parents 25cb7420dc91
children 3dfd934100f7
line wrap: on
line diff
--- a/mde/gui/widget/Widget.d	Mon Jul 28 18:17:48 2008 +0100
+++ b/mde/gui/widget/Widget.d	Mon Jul 28 18:49:18 2008 +0100
@@ -77,7 +77,7 @@
 //BEGIN Events
     /* This method is only called when the location is over this widget; hence for all widgets
      * without children this method is valid. */
-    IWidget getWidget (wdim,wdim) {
+    IChildWidget getWidget (wdim,wdim) {
         return this;
     }