Commit e2c5359e authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

- Remove useless LVN_ITEMACTIVATE notification handling.

- Update controls in response to a NM_CLICK notification.
parent bf1061bf
......@@ -789,9 +789,6 @@ DriveDlgProc (HWND dialog, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_NOTIFY:
switch (((LPNMHDR)lParam)->code)
{
case LVN_ITEMACTIVATE:
update_controls(dialog);
break;
case PSN_KILLACTIVE:
WINE_TRACE("PSN_KILLACTIVE\n");
SetWindowLongPtr(dialog, DWLP_MSGRESULT, FALSE);
......@@ -803,6 +800,13 @@ DriveDlgProc (HWND dialog, UINT msg, WPARAM wParam, LPARAM lParam)
case PSN_SETACTIVE:
break;
}
switch (((LPNMITEMACTIVATE)lParam)->hdr.code)
{
case NM_CLICK:
update_controls(dialog);
break;
}
break;
}
......
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