mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 07:40:33 +01:00
win32: remove TCustomFrame dependency
git-svn-id: trunk@19295 -
This commit is contained in:
parent
7125a8d9af
commit
e9e4a01870
@ -2659,7 +2659,7 @@ begin
|
||||
P.x := GET_X_LPARAM(lParam);
|
||||
P.y := GET_Y_LPARAM(lParam);
|
||||
Windows.ScreenToClient(Parent, P);
|
||||
if (Owner is TCustomForm) or (Owner is TCustomFrame) then
|
||||
if (Owner is TCustomForm) then
|
||||
begin
|
||||
// ask form about control under mouse. we need TWinControl
|
||||
Control := Owner.ControlAtPos(P, [capfAllowWinControls, capfRecursive]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user