* Added workaround to scrolling in Carbon. By Eugen Bolz

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1403 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
blikblum 2010-12-14 21:58:26 +00:00
parent 50ab47a69f
commit 457ca8fcc7

View File

@ -15478,7 +15478,7 @@ begin
SB_THUMBTRACK:
begin
DoStateChange([tsThumbTracking]);
{$ifdef LCLQt}
{$if DEFINED(LCLQt) OR DEFINED(LCLCarbon)}
if UseRightToLeftAlignment then
SetOffsetX(-Integer(FRangeX) + ClientWidth + Message.Pos)
else
@ -16775,7 +16775,7 @@ begin
SB_THUMBTRACK:
begin
DoStateChange([tsThumbTracking]);
{$ifdef LCLQt}
{$if DEFINED(LCLQt) OR DEFINED(LCLCarbon)}
SetOffsetY(-Message.Pos);
{$else}
SetOffsetY(-GetRealScrollPosition);