[PATCH 1/2] comctl32/propsheet: Force wizard header if any of pages has title/subtitle
Nikolay Sivov
nsivov at codeweavers.com
Tue Jan 31 23:17:03 CST 2017
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
For https://bugs.winehq.org/show_bug.cgi?id=30308
dlls/comctl32/propsheet.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c
index 1809b8647d..4c04dfe3c4 100644
--- a/dlls/comctl32/propsheet.c
+++ b/dlls/comctl32/propsheet.c
@@ -486,6 +486,9 @@ static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp,
width = (WORD)*p; p++;
height = (WORD)*p; p++;
+ if (lppsp->dwFlags & (PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE))
+ psInfo->ppshheader.dwFlags |= PSH_HEADER;
+
/* Special calculation for interior wizard pages so the largest page is
* calculated correctly. We need to add all the padding and space occupied
* by the header so the width and height sums up to the whole wizard client
--
2.11.0
More information about the wine-patches
mailing list