Mercurial > hg > release > icedtea7-forest-2.1 > jdk
changeset 1976:fa2b3627e59c
6680634: Printing: "Collate" is ignored under Windows Vista x64
Reviewed-by: campbell, prr
author | jgodinez |
---|---|
date | Fri, 16 Oct 2009 09:32:29 -0700 |
parents | c58000722db0 |
children | c579f8307707 |
files | src/windows/native/sun/windows/awt_PrintControl.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/windows/native/sun/windows/awt_PrintControl.cpp Wed Oct 14 10:44:32 2009 -0700 +++ b/src/windows/native/sun/windows/awt_PrintControl.cpp Fri Oct 16 09:32:29 2009 -0700 @@ -687,7 +687,7 @@ // Now, set-up the struct for the real calls to ::PrintDlg and ::CreateDC pd.hwndOwner = hwndOwner; - pd.Flags = PD_ENABLEPRINTHOOK | PD_RETURNDC; + pd.Flags = PD_ENABLEPRINTHOOK | PD_RETURNDC | PD_USEDEVMODECOPIESANDCOLLATE; pd.lpfnPrintHook = (LPPRINTHOOKPROC)PrintDlgHook; if (env->CallBooleanMethod(printCtrl, AwtPrintControl::getCollateID)) {