mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 13:39:18 +02:00
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:
parent
134065986d
commit
284794b752
@ -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