Commit e63e39f2 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

PropSheetPageProc callback should always have hwnd = 0.

parent 55cb8177
...@@ -1475,8 +1475,7 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent, ...@@ -1475,8 +1475,7 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent,
} }
if (psInfo->proppage[index].useCallback) if (psInfo->proppage[index].useCallback)
(*(ppshpage->pfnCallback))(hwndParent, (*(ppshpage->pfnCallback))(0, PSPCB_CREATE,
PSPCB_CREATE,
(LPPROPSHEETPAGEW)ppshpage); (LPPROPSHEETPAGEW)ppshpage);
if(ppshpage->dwFlags & PSP_INTERNAL_UNICODE) if(ppshpage->dwFlags & PSP_INTERNAL_UNICODE)
......
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