Brendan McGrath : comdlg32: Don't treat cmb1 as the printer list unless in PRINT_SETUP.
Module: wine Branch: master Commit: bbdc50c5320dc1c51c080e24bf7ec712c7b847c0 URL: https://gitlab.winehq.org/wine/wine/-/commit/bbdc50c5320dc1c51c080e24bf7ec71... Author: Brendan McGrath <bmcgrath(a)codeweavers.com> Date: Tue Jan 30 06:37:13 2024 +1100 comdlg32: Don't treat cmb1 as the printer list unless in PRINT_SETUP. This changes WMCommandW to match WMCommandA. --- dlls/comdlg32/printdlg.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dlls/comdlg32/printdlg.c b/dlls/comdlg32/printdlg.c index d300b46a5b6..aed486a9b09 100644 --- a/dlls/comdlg32/printdlg.c +++ b/dlls/comdlg32/printdlg.c @@ -1988,7 +1988,10 @@ static LRESULT PRINTDLG_WMCommandW(HWND hDlg, WPARAM wParam, } break; - case cmb1: /* Printer Combobox in PRINT SETUP */ + case cmb1: /* Printer Combobox in PRINT SETUP, quality combobox in PRINT16 */ + if (PrinterComboID != LOWORD(wParam)) { + break; + } /* FALLTHROUGH */ case cmb4: /* Printer combobox */ if (HIWORD(wParam)==CBN_SELCHANGE) {
participants (1)
-
Alexandre Julliard