# HG changeset patch # User Frank Benoit # Date 1224334902 -7200 # Node ID c36336245fb1107f32cdcdd7746b62a85714d0e1 # Parent 46b175eeced4172fe242a8f5ae5fa36176ecc218 Fix anon class problem diff -r 46b175eeced4 -r c36336245fb1 dwtx/jface/wizard/WizardDialog.d --- a/dwtx/jface/wizard/WizardDialog.d Sat Oct 18 15:01:10 2008 +0200 +++ b/dwtx/jface/wizard/WizardDialog.d Sat Oct 18 15:01:42 2008 +0200 @@ -1139,12 +1139,9 @@ if (getContents() is null) { updateForPage(page); } else { - final IWizardPage finalPage = page; - BusyIndicator.showWhile(getContents().getDisplay(), new class Runnable { - public void run() { - updateForPage(finalPage); - } - }); + BusyIndicator.showWhile(getContents().getDisplay(), dgRunnable( (IWizardPage finalPage) { + updateForPage(finalPage); + }, page )); } }