[0.4.13][COMCTL32] Address regression CORE-14622

"Avira Antivir Personal 6.35.00.243" had issues painting its
setup wizard dialog with correct background color.
That part was a regression of SVN r74136 == git
b1b42795a9

and also did not draw its umbrella bmp, which did never work
in ros up to now afaik.

https://reactos.org/testman/compare.php?ids=69394,69478 VBOX
https://reactos.org/testman/compare.php?ids=69395,69479 KVM

Thanks to patches author Doug Lyons and HBelusca.

Wine has been reported to be affected by that bug as well:
https://bugs.winehq.org/show_bug.cgi?id=46636
Not sure whether our patch will be accepted by Wine,
to my naive eye this looks like an interim solution.

cherry picked from commit 0.4.14-dev-107-g
f2f833c53c
This commit is contained in:
Joachim Henze 2019-10-22 01:10:28 +02:00
parent fa70635521
commit e5018461c1

View file

@ -1470,6 +1470,9 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent,
(psInfo->ppshheader.dwFlags & PSH_WATERMARK) &&
(ppshpage->dwFlags & PSP_HIDEHEADER))
{
#ifdef __REACTOS__
if (psInfo->ppshheader.u4.hbmWatermark)
#endif
SetWindowSubclass(hwndPage, PROPSHEET_WizardSubclassProc, 1,
(DWORD_PTR)ppshpage);
}