fixed using Drop parameter in DragDone from Daniel Dugan

git-svn-id: trunk@8998 -
This commit is contained in:
mattias 2006-03-22 23:11:35 +00:00
parent f4ca574134
commit b5df9f177e

View File

@ -325,7 +325,7 @@ Begin
TargetPos := DragObject.DragPos;
// last DragOver message (make sure, there is at least one)
Accepted:=(ActiveDrag <> dopNone) and SendDragOver(dmDragLeave);
Accepted:=(ActiveDrag <> dopNone) and SendDragOver(dmDragLeave) and Drop;
// erase global variables (dragging stopped)
DragControl := nil;