mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-03 16:07:19 +01:00
cocoa: fix i386 compilation
git-svn-id: trunk@57086 -
This commit is contained in:
parent
48ff0f78f8
commit
21ae60c450
@ -1799,7 +1799,7 @@ begin
|
||||
sc:=TCocoaScrollView(obj);
|
||||
if sc.isCustomRange and (ScrollInfo.fMask and SIF_RANGE>0) then begin
|
||||
f:=sc.frame.size;
|
||||
sz:=sc.documentView.frame.size;
|
||||
sz:=NSView(sc.documentView).frame.size; // type casting is here for the compiler. for i386 it messes up types
|
||||
flg:=sc.documentView.autoresizingMask;
|
||||
|
||||
if SBStyle=SB_Horz then begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user