Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/printing/PrintDialog.d @ 86:12b890a6392a
Work on databinding
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 18 Apr 2009 13:58:35 +0200 |
parents | 6dd524f61e62 |
children |
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/printing/PrintDialog.d Sat Apr 18 13:54:50 2009 +0200 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/printing/PrintDialog.d Sat Apr 18 13:58:35 2009 +0200 @@ -300,7 +300,7 @@ PrinterData data = null; String key = "org.eclipse.swt.internal.win32.runMessagesInIdle"; //$NON-NLS-1$ Object oldValue = display.getData(key); - display.setData(key, new ValueWrapperBool(true)); + display.setData(key, new Boolean(true)); bool success = cast(bool)OS.PrintDlg(&pd); display.setData(key, oldValue); if ((getStyle() & (SWT.APPLICATION_MODAL | SWT.SYSTEM_MODAL)) !is 0) {