Commit acb08a39 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Fixed WM_COMMAND notification codes for 16 bit PrintDlg.

parent 09d78220
......@@ -2073,9 +2073,17 @@ LRESULT WINAPI PrintDlgProc16(HWND16 hDlg, UINT16 uMsg, WPARAM16 wParam,
}
switch (uMsg) {
case WM_COMMAND:
return PRINTDLG_WMCommand(hDlg, wParam, lParam, PrintStructures);
case WM_COMMAND: {
/* 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:
DestroyIcon(PrintStructures->hCollateIcon);
DestroyIcon(PrintStructures->hNoCollateIcon);
......
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