PropSheetPageProc callback should always have hwnd = 0.

This commit is contained in:
Huw Davies 2003-11-04 04:23:00 +00:00 committed by Alexandre Julliard
parent 55cb8177b5
commit e63e39f2c5
1 changed files with 1 additions and 2 deletions

View File

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