Commit b536d578 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

comctl32: Don't pass PROPSHEETPAGE to SetWindowSubclass in PROPSHEET_CreatePage.

parent 89729df9
...@@ -1461,8 +1461,7 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent, ...@@ -1461,8 +1461,7 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent,
(psInfo->ppshheader.dwFlags & PSH_WATERMARK) && (psInfo->ppshheader.dwFlags & PSH_WATERMARK) &&
(ppshpage->dwFlags & PSP_HIDEHEADER)) (ppshpage->dwFlags & PSP_HIDEHEADER))
{ {
SetWindowSubclass(hwndPage, PROPSHEET_WizardSubclassProc, 1, SetWindowSubclass(hwndPage, PROPSHEET_WizardSubclassProc, 1, 0);
(DWORD_PTR)ppshpage);
} }
if (!(psInfo->ppshheader.dwFlags & INTRNL_ANY_WIZARD)) if (!(psInfo->ppshheader.dwFlags & INTRNL_ANY_WIZARD))
EnableThemeDialogTexture (hwndPage, ETDT_ENABLETAB); EnableThemeDialogTexture (hwndPage, ETDT_ENABLETAB);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment