mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 13:09:20 +02:00
gtk: apply scroll subtraction only for widgets with embedded scroll area like TCustomForm
git-svn-id: trunk@20181 -
This commit is contained in:
parent
9eaaa681d2
commit
20199f3f18
@ -4561,7 +4561,6 @@ end;
|
||||
function SubtractScoll(AWidget: PGtkWidget; APosition: TPoint): TPoint;
|
||||
begin
|
||||
Result := APosition;
|
||||
if not GTK_IS_SCROLLED_WINDOW(AWidget) then
|
||||
AWidget := gtk_object_get_data(PGTKObject(AWidget), odnScrollArea);
|
||||
if GTK_IS_SCROLLED_WINDOW(AWidget) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user