mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
- Remove useless LVN_ITEMACTIVATE notification handling.
- Update controls in response to a NM_CLICK notification.
This commit is contained in:
parent
bf1061bfc6
commit
e2c5359e8b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user