mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 12:19:15 +02:00
LCL: Prevent calling TListView OnMouseUp twice on Windows 7. Issue #27189, patch from Michl.
git-svn-id: trunk@47557 -
This commit is contained in:
parent
2163b6cdcb
commit
4189a2b962
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user