changeset 211:ff59aeb96cac

Fix problem with dmd 1.029
author Frank Benoit <benoit@tionex.de>
date Sat, 26 Apr 2008 10:01:48 +0200
parents 2b361bf0dfe1
children ab60f3309436
files dwt/custom/TreeEditor.d
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/dwt/custom/TreeEditor.d	Sun Apr 20 00:18:54 2008 +0200
+++ b/dwt/custom/TreeEditor.d	Sat Apr 26 10:01:48 2008 +0200
@@ -120,21 +120,21 @@
         this(){
             runnable = new class() Runnable {
                 public void run() {
-                    if (editor is null || editor.isDisposed()) return;
+                    if (this.outer.outer.editor is null || this.outer.outer.editor.isDisposed()) return;
                     if (this.outer.outer.tree.isDisposed()) return;
                     layout();
-                    editor.setVisible(true);
+                    this.outer.outer.editor.setVisible(true);
                 }
             };
         }
         public void treeCollapsed(TreeEvent e) {
-            if (editor is null || editor.isDisposed ()) return;
-            editor.setVisible(false);
+            if (this.outer.editor is null || this.outer.editor.isDisposed ()) return;
+            this.outer.editor.setVisible(false);
             e.display.asyncExec(runnable);
         }
         public void treeExpanded(TreeEvent e) {
-            if (editor is null || editor.isDisposed ()) return;
-            editor.setVisible(false);
+            if (this.outer.editor is null || this.outer.editor.isDisposed ()) return;
+            this.outer.editor.setVisible(false);
             e.display.asyncExec(runnable);
         }
     };