Gtk2: fixed doubled events over TListBox when right mouse button pressed.Fixes issue #17963

git-svn-id: trunk@28311 -
This commit is contained in:
zeljko 2010-11-18 07:34:33 +00:00
parent 75f412db98
commit a74e75f6a5

View File

@ -1501,7 +1501,7 @@ begin
otherwise LCL is not updated since ChangeLock = 1 in case
of pressing right mouse button and 'changed' signal never reach lcl.
Issues #16972, #17888. }
if GTK_IS_TREE_VIEW(Widget) and (event^.button = 3) then
if Result and GTK_IS_TREE_VIEW(Widget) and (event^.button = 3) then
begin
Result := False;
FillChar(Mess,SizeOf(Mess),0);