Commit 0a8c92b4 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

Fixed collate icon behavior.

parent 57aa9ebc
......@@ -1622,11 +1622,22 @@ static LRESULT PRINTDLG_WMCommandW(HWND hDlg, WPARAM wParam,
if(HIWORD(wParam) == EN_CHANGE) {
INT copies = GetDlgItemInt(hDlg, edt3, NULL, FALSE);
if(copies <= 1)
{
CheckDlgButton(hDlg, chx2, BST_UNCHECKED);
SendDlgItemMessageA(hDlg, ico3, STM_SETIMAGE,
(WPARAM) IMAGE_ICON, 0);
EnableWindow(GetDlgItem(hDlg, chx2), FALSE);
}
else
EnableWindow(GetDlgItem(hDlg, chx2), TRUE);
}
break;
{
EnableWindow(GetDlgItem(hDlg, chx2), TRUE);
SendDlgItemMessageA(hDlg, ico3, STM_SETIMAGE,
(WPARAM) IMAGE_ICON,
(LPARAM)PrintStructures->hNoCollateIcon);
}
}
break;
case psh1: /* Print Setup */
{
......
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