mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 07:17:23 +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
|
if LParam <> 0 then
|
||||||
begin
|
begin
|
||||||
ChildWindowInfo := GetWin32WindowInfo(HWND(LParam));
|
ChildWindowInfo := GetWin32WindowInfo(HWND(LParam));
|
||||||
|
lWinControl := ChildWindowInfo^.WinControl;
|
||||||
if Assigned(ChildWindowInfo^.ParentMsgHandler) then
|
if Assigned(ChildWindowInfo^.ParentMsgHandler) then
|
||||||
begin
|
begin
|
||||||
if ChildWindowInfo^.ParentMsgHandler(ChildWindowInfo^.WinControl,
|
if ChildWindowInfo^.ParentMsgHandler(lWinControl,
|
||||||
Window, Msg, WParam, LParam, PLMsg^.Result, WinProcess) then Exit(PLMsg^.Result);
|
Window, Msg, WParam, LParam, PLMsg^.Result, WinProcess) then Exit(PLMsg^.Result);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user