Mercurial > projects > dwt-addons
diff dwtx/jface/wizard/WizardDialog.d @ 183:c36336245fb1
Fix anon class problem
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 18 Oct 2008 15:01:42 +0200 |
parents | a521c486e142 |
children | c3583c6ec027 |
line wrap: on
line diff
--- 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 )); } }