mirror of
https://github.com/reactos/wine.git
synced 2024-12-03 17:31:15 +00:00
comctl32/propsheet: Force wizard header if any of pages has title/subtitle.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
452c1ef66d
commit
6eafebedb8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user