# HG changeset patch # User Frank Benoit # Date 1209196908 -7200 # Node ID ff59aeb96cacbfcd88ad86822cd66b82fed30c8d # Parent 2b361bf0dfe1cb67c87b12baf3d4a94ff12b9f73 Fix problem with dmd 1.029 diff -r 2b361bf0dfe1 -r ff59aeb96cac dwt/custom/TreeEditor.d --- 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); } };