lcl: treeview - handle focus on mouse down (bugs #0012922, #0012446)

git-svn-id: trunk@18172 -
This commit is contained in:
paul 2009-01-06 16:27:33 +00:00
parent 533a95598d
commit 7b42dab907

View File

@ -4553,6 +4553,9 @@ begin
end;
end;
if not Focused and CanFocus then
SetFocus;
inherited MouseDown(Button, Shift, X, Y);
CursorNode := GetNodeAt(X, Y);