comctl32: Fix selection of tab via mouse.
This commit is contained in:
parent
044669e709
commit
6018b88913
@ -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_SetCurSel(infoPtr, newItem);
|
TAB_SetCurFocus(infoPtr, newItem);
|
||||||
|
|
||||||
TAB_SendSimpleNotify(infoPtr, TCN_SELCHANGE);
|
TAB_SendSimpleNotify(infoPtr, TCN_SELCHANGE);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user