diff --git a/patches/printdlg-properties_btn/0001-printdlg-Allow-button-id-psh1-for-Properties-button.patch b/patches/printdlg-properties_btn/0001-printdlg-Allow-button-id-psh1-for-Properties-button.patch new file mode 100644 index 00000000..eaf96612 --- /dev/null +++ b/patches/printdlg-properties_btn/0001-printdlg-Allow-button-id-psh1-for-Properties-button.patch @@ -0,0 +1,33 @@ +From e93b8d3f2fe126cc42c4af3f6784f268de5d94f2 Mon Sep 17 00:00:00 2001 +From: Fabian Maurer +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 + diff --git a/patches/printdlg-properties_btn/definition b/patches/printdlg-properties_btn/definition new file mode 100644 index 00000000..2c707207 --- /dev/null +++ b/patches/printdlg-properties_btn/definition @@ -0,0 +1,3 @@ +Fixes: [55841] Support print "Properties" button. + +# PR 6119