Commit 86c507d6 authored by Pierre Mageau's avatar Pierre Mageau Committed by Alexandre Julliard

Do not send two PSN_KILLACTIVE messages.

parent 11332913
......@@ -1327,17 +1327,9 @@ static BOOL PROPSHEET_SetCurSel(HWND hwndDlg,
HWND hwndHelp = GetDlgItem(hwndDlg, IDHELP);
NMHDR hdr;
/*
* Notify the current page.
*/
hwndPage = psInfo->proppage[psInfo->active_page].hwndPage;
hdr.hwndFrom = hwndDlg;
hdr.code = PSN_KILLACTIVE;
if (SendMessageA(hwndPage, WM_NOTIFY, 0, (LPARAM) &hdr))
return FALSE;
/*
* hpage takes precedence over index.
*/
......
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