mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-08 22:19:18 +00:00
6680634: Printing: "Collate" is ignored under Windows Vista x64
Reviewed-by: campbell, prr
This commit is contained in:
parent
6b576be53c
commit
ac9bcbd819
@ -687,7 +687,7 @@ BOOL AwtPrintControl::InitPrintDialog(JNIEnv *env,
|
||||
// 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)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user