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:
parent
1aa4c4a895
commit
c45c9e9fe0
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue