Merged revision(s) 47557 #4189a2b962 from trunk:

LCL: Prevent calling TListView OnMouseUp twice on Windows 7. Issue #27189, patch from Michl.
........

git-svn-id: branches/fixes_1_4@47560 -
This commit is contained in:
maxim 2015-01-28 22:59:04 +00:00
parent 134065986d
commit 284794b752

View File

@ -225,6 +225,7 @@ begin
case PNMHdr(LParam)^.code of
NM_CLICK, NM_RCLICK:
begin
if WindowsVersion = wv7 then Exit;
// A listview doesn't get a WM_LBUTTONUP, WM_RBUTTONUP message,
// because it keeps the message in its own event loop,
// see msdn article about "Default List-View Message Processing"