Revert "comctl32: Fix selection of tab via mouse."

This reverts commit 6018b88913. It
breaks several apps. To be revisited after 1.2.
This commit is contained in:
Alexandre Julliard 2010-07-05 17:36:19 +02:00
parent 1aa4c4a895
commit c45c9e9fe0

View file

@ -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);
}