From c45c9e9fe0bb304acf6f84ff160d914f029957d5 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 5 Jul 2010 17:36:19 +0200 Subject: [PATCH] Revert "comctl32: Fix selection of tab via mouse." This reverts commit 6018b88913be5a252d1c0aa779b42e7af1fb283c. It breaks several apps. To be revisited after 1.2. --- dlls/comctl32/tab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c index acf664c8e87..c99153eea31 100644 --- a/dlls/comctl32/tab.c +++ b/dlls/comctl32/tab.c @@ -683,7 +683,7 @@ TAB_LButtonDown (TAB_INFO *infoPtr, WPARAM wParam, LPARAM lParam) if (pressed) TAB_DeselectAll (infoPtr, FALSE); else - TAB_SetCurFocus(infoPtr, newItem); + TAB_SetCurSel(infoPtr, newItem); TAB_SendSimpleNotify(infoPtr, TCN_SELCHANGE); }