diff mde/gui/widget/miscWidgets.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/miscWidgets.d	Mon Jul 28 18:17:48 2008 +0100
+++ b/mde/gui/widget/miscWidgets.d	Mon Jul 28 18:49:18 2008 +0100
@@ -85,7 +85,7 @@
             
             pushed = false;
             mgr.requestRedraw;
-            mgr.removeCallbacks (this);
+            mgr.removeCallbacks (cast(void*) this);
             
             return true;
         }