mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 11:40:49 +02:00
win32 listview: fix wrong message target when sending LButtonUp, RButtonUp messages (fixes popup menu in ide watch window)
git-svn-id: trunk@14808 -
This commit is contained in:
parent
d5e6d33772
commit
217383a60c
@ -1907,7 +1907,7 @@ begin
|
||||
// since we are here after call of CallDefaultWindowProc
|
||||
|
||||
// TODO: prevent getting more than one Up, Down message by LCL
|
||||
PostMessage(Window, Msg, 0, MakeLParam(Pos.x, Pos.y));
|
||||
PostMessage(PNMHdr(LParam)^.hwndFrom, Msg, 0, MakeLParam(Pos.x, Pos.y));
|
||||
Exit;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user