Added add printdlg-properties_btn patchset

This commit is contained in:
Alistair Leslie-Hughes 2024-08-11 15:03:10 +10:00
parent 75f3eede59
commit a713da9181
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,33 @@
From e93b8d3f2fe126cc42c4af3f6784f268de5d94f2 Mon Sep 17 00:00:00 2001
From: Fabian Maurer <dark.shadow4@web.de>
Date: Fri, 19 Jul 2024 00:06:37 +0200
Subject: [PATCH] printdlg: Allow button id psh1 for "Properties" button.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55841
---
dlls/comdlg32/printdlg.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/comdlg32/printdlg.c b/dlls/comdlg32/printdlg.c
index aed486a9b09..b5c67c3abad 100644
--- a/dlls/comdlg32/printdlg.c
+++ b/dlls/comdlg32/printdlg.c
@@ -1796,6 +1796,7 @@ static LRESULT PRINTDLG_WMCommandA(HWND hDlg, WPARAM wParam,
}
break;
+ case psh1: /* Setup button */
case psh2: /* Properties button */
{
HANDLE hPrinter;
@@ -1952,6 +1953,7 @@ static LRESULT PRINTDLG_WMCommandW(HWND hDlg, WPARAM wParam,
}
break;
+ case psh1: /* Setup button */
case psh2: /* Properties button */
{
HANDLE hPrinter;
--
2.43.0

View File

@ -0,0 +1,3 @@
Fixes: [55841] Support print "Properties" button.
# PR 6119