* Change result of TBaseVirtualTree.DoDragMsg to LRESULT. Issue 21974

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2428 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
blikblum
2012-05-12 16:48:51 +00:00
parent fafa74baac
commit a8db0cee0c

View File

@ -14726,9 +14726,9 @@ begin
end;
dmFindTarget:
begin
Result := Integer(ControlAtPos(ScreenToClient(APosition), False));
Result := LRESULT(ControlAtPos(ScreenToClient(APosition), False));
if Result = 0 then
Result := Integer(Self);
Result := LRESULT(Self);
// This is a reliable place to check whether VCL drag has
// really begun.