win32: remove TCustomFrame dependency

git-svn-id: trunk@19295 -
This commit is contained in:
paul 2009-04-10 06:12:29 +00:00
parent 7125a8d9af
commit e9e4a01870

View File

@ -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]);