Fixed WM_COMMAND notification codes for 16 bit PrintDlg.
This commit is contained in:
parent
09d7822048
commit
acb08a3972
|
@ -2073,9 +2073,17 @@ LRESULT WINAPI PrintDlgProc16(HWND16 hDlg, UINT16 uMsg, WPARAM16 wParam,
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (uMsg) {
|
switch (uMsg) {
|
||||||
case WM_COMMAND:
|
case WM_COMMAND: {
|
||||||
return PRINTDLG_WMCommand(hDlg, wParam, lParam, PrintStructures);
|
/* We need to map those for the 32bit window procedure, compare
|
||||||
|
* with 32Ato16 mapper in winproc.c
|
||||||
|
*/
|
||||||
|
return PRINTDLG_WMCommand(
|
||||||
|
hDlg,
|
||||||
|
MAKEWPARAM(wParam,HIWORD(lParam)),
|
||||||
|
LOWORD(lParam),
|
||||||
|
PrintStructures
|
||||||
|
);
|
||||||
|
}
|
||||||
case WM_DESTROY:
|
case WM_DESTROY:
|
||||||
DestroyIcon(PrintStructures->hCollateIcon);
|
DestroyIcon(PrintStructures->hCollateIcon);
|
||||||
DestroyIcon(PrintStructures->hNoCollateIcon);
|
DestroyIcon(PrintStructures->hNoCollateIcon);
|
||||||
|
|
Loading…
Reference in New Issue