mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
Fixed collate icon behavior.
This commit is contained in:
parent
57aa9ebc38
commit
0a8c92b499
@ -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 */
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user