Commit 07723941 authored by Alexandre Julliard's avatar Alexandre Julliard

Jean-Claude Batista

PrintDialog now creates a DC when receiving a PD_RETURNDC flag.
parent 0406a08c
......@@ -890,6 +890,11 @@ static BOOL PRINTDLG_ValidateAndDuplicateSettings(HWND hDlg,
}
}
/* set DC */
if (lppd->Flags & PD_RETURNDC){
lppd->hDC = CreateDCA(NULL, lpPi->pPrinterName, NULL, NULL);
}
GlobalUnlock(lppd->hDevMode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment