win32: use ssDouble, ssTriple and ssQuad in MouseUp handlers

git-svn-id: trunk@51573 -
This commit is contained in:
ondrej 2016-02-10 15:36:07 +00:00
parent 7be1f95d3a
commit c57f581e7c

View File

@ -1534,6 +1534,11 @@ begin
XPos := GET_X_LPARAM(LParam);
YPos := GET_Y_LPARAM(LParam);
Keys := WParam;
case MouseDownCount of
2: Keys := Keys or MK_DOUBLECLICK;
3: Keys := Keys or MK_TRIPLECLICK;
4: Keys := Keys or MK_QUADCLICK;
end;
end;
end;