Commit a247086c authored by Huw D M Davies's avatar Huw D M Davies Committed by Alexandre Julliard

Call LoadImage to load the non-standard sized collate icons.

parent 804edb1c
......@@ -639,10 +639,12 @@ static LRESULT PRINTDLG_WMInitDialog(HWND hDlg, WPARAM wParam,
UINT comboID = (lppd->Flags & PD_PRINTSETUP) ? cmb1 : cmb4;
/* load Collate ICONs */
/* We load these with LoadImage becasue they are not a standard
size and we don't want them rescaled */
PrintStructures->hCollateIcon =
LoadIconA(COMDLG32_hInstance, "PD32_COLLATE");
LoadImageA(COMDLG32_hInstance, "PD32_COLLATE", IMAGE_ICON, 0, 0, 0);
PrintStructures->hNoCollateIcon =
LoadIconA(COMDLG32_hInstance, "PD32_NOCOLLATE");
LoadImageA(COMDLG32_hInstance, "PD32_NOCOLLATE", IMAGE_ICON, 0, 0, 0);
if(PrintStructures->hCollateIcon == 0 ||
PrintStructures->hNoCollateIcon == 0) {
ERR("no icon in resourcefile\n");
......
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