From a7de24baa0e83c2ce5a82cfe4d0fcc6320449b17 Mon Sep 17 00:00:00 2001 From: Thuy Nguyen Date: Sun, 31 Oct 1999 17:33:50 +0000 Subject: [PATCH] Fill in the hwndFrom field of the NMHDR structure when sending notifications. --- dlls/comctl32/propsheet.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c index 105c6fcf1ca..ac42b01cc81 100644 --- a/dlls/comctl32/propsheet.c +++ b/dlls/comctl32/propsheet.c @@ -1021,6 +1021,7 @@ static BOOL PROPSHEET_Back(HWND hwndDlg) PropSheetInfo* psInfo = (PropSheetInfo*) GetPropA(hwndDlg, PropSheetInfoStr); + hdr.hwndFrom = hwndDlg; hdr.code = PSN_WIZBACK; hwndPage = psInfo->proppage[psInfo->active_page].hwndPage; @@ -1052,6 +1053,7 @@ static BOOL PROPSHEET_Next(HWND hwndDlg) PropSheetInfo* psInfo = (PropSheetInfo*) GetPropA(hwndDlg, PropSheetInfoStr); + hdr.hwndFrom = hwndDlg; hdr.code = PSN_WIZNEXT; hwndPage = psInfo->proppage[psInfo->active_page].hwndPage; @@ -1082,6 +1084,7 @@ static BOOL PROPSHEET_Finish(HWND hwndDlg) PropSheetInfo* psInfo = (PropSheetInfo*) GetPropA(hwndDlg, PropSheetInfoStr); + hdr.hwndFrom = hwndDlg; hdr.code = PSN_WIZFINISH; hwndPage = psInfo->proppage[psInfo->active_page].hwndPage;