Commit fade32b5 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32: Block selection change depending on TCN_SELCHANGING result.

parent d0ede16e
......@@ -684,7 +684,8 @@ TAB_LButtonDown (TAB_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
break;
}
TAB_SendSimpleNotify(infoPtr, TCN_SELCHANGING);
if (TAB_SendSimpleNotify(infoPtr, TCN_SELCHANGING))
return 0;
if (pressed)
TAB_DeselectAll (infoPtr, FALSE);
......
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