# HG changeset patch # User Frank Benoit # Date 1209196890 -7200 # Node ID 98b80b00af7917707db879f1b7242987cd644b2f # Parent 329f277b58a0f5ed3c8a3e5c402cb0235a8f7571 Fix problem with dmd 1.029 diff -r 329f277b58a0 -r 98b80b00af79 dwt/custom/TreeEditor.d --- a/dwt/custom/TreeEditor.d Sun Apr 20 00:19:27 2008 +0200 +++ b/dwt/custom/TreeEditor.d Sat Apr 26 10:01:30 2008 +0200 @@ -118,21 +118,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); } };