diff mde/gui/WidgetManager.d @ 84:e0f1ec7fe73a

Merge plus a few tweaks.
author Diggory Hardy <diggory.hardy@gmail.com>
date Sun, 31 Aug 2008 15:59:17 +0100
parents d8fccaa45d5f
children 56c0ddd90193
line wrap: on
line diff
--- a/mde/gui/WidgetManager.d	Sat Aug 30 09:37:35 2008 +0100
+++ b/mde/gui/WidgetManager.d	Sun Aug 31 15:59:17 2008 +0100
@@ -62,7 +62,11 @@
      */
     this (char[] file) {
         super(file);
-        
+    }
+    
+    // NOTE - temporarily here to allow CTOR to run safely during static this
+    // called during init
+    void init () {
         // Events we want to know about:
         imde.input.addMouseClickCallback(&clickEvent);
         imde.input.addMouseMotionCallback(&motionEvent);