Commit c45c9e9f authored by Alexandre Julliard's avatar Alexandre Julliard

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

This reverts commit 6018b889. It breaks several apps. To be revisited after 1.2.
parent 1aa4c4a8
...@@ -683,7 +683,7 @@ TAB_LButtonDown (TAB_INFO *infoPtr, WPARAM wParam, LPARAM lParam) ...@@ -683,7 +683,7 @@ TAB_LButtonDown (TAB_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
if (pressed) if (pressed)
TAB_DeselectAll (infoPtr, FALSE); TAB_DeselectAll (infoPtr, FALSE);
else else
TAB_SetCurFocus(infoPtr, newItem); TAB_SetCurSel(infoPtr, newItem);
TAB_SendSimpleNotify(infoPtr, TCN_SELCHANGE); TAB_SendSimpleNotify(infoPtr, TCN_SELCHANGE);
} }
......
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