From e2c5359e8b1abe7cd09f43446b37c19c29420857 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Tue, 10 May 2005 13:14:49 +0000 Subject: [PATCH] - Remove useless LVN_ITEMACTIVATE notification handling. - Update controls in response to a NM_CLICK notification. --- programs/winecfg/driveui.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/programs/winecfg/driveui.c b/programs/winecfg/driveui.c index df01a0df91c..5d8272c2a06 100644 --- a/programs/winecfg/driveui.c +++ b/programs/winecfg/driveui.c @@ -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; }