mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 07:37:02 +02:00
win32: fix scrollbar regression (issue #0015717)
git-svn-id: trunk@23912 -
This commit is contained in:
parent
a77478ebb9
commit
1613c3ab5f
@ -1562,9 +1562,10 @@ begin
|
||||
if LParam <> 0 then
|
||||
begin
|
||||
ChildWindowInfo := GetWin32WindowInfo(HWND(LParam));
|
||||
lWinControl := ChildWindowInfo^.WinControl;
|
||||
if Assigned(ChildWindowInfo^.ParentMsgHandler) then
|
||||
begin
|
||||
if ChildWindowInfo^.ParentMsgHandler(ChildWindowInfo^.WinControl,
|
||||
if ChildWindowInfo^.ParentMsgHandler(lWinControl,
|
||||
Window, Msg, WParam, LParam, PLMsg^.Result, WinProcess) then Exit(PLMsg^.Result);
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user