mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 10:59:29 +02:00
cocoa: fix compilation for the newly released fpc3.2.0
git-svn-id: trunk@63409 -
This commit is contained in:
parent
e660c90155
commit
1912324bc7
@ -31,8 +31,6 @@ uses
|
||||
cocoa_extra, CocoaPrivate;
|
||||
|
||||
type
|
||||
TSetDocumentViewType = {$if FPC_FULLVERSION = 30200}id{$else}NSView{$endif};
|
||||
|
||||
{ TCocoaScrollView }
|
||||
|
||||
TCocoaScrollView = objcclass(NSScrollView)
|
||||
@ -51,7 +49,7 @@ type
|
||||
procedure resetCursorRects; override;
|
||||
function lclClientFrame: TRect; override;
|
||||
function lclContentView: NSView; override;
|
||||
procedure setDocumentView(aView: TSetDocumentViewType); override;
|
||||
procedure setDocumentView(aView: NSView); override;
|
||||
procedure scrollContentViewBoundsChanged(notify: NSNotification); message 'scrollContentViewBoundsChanged:';
|
||||
procedure resetScrollRect; message 'resetScrollRect';
|
||||
|
||||
@ -647,7 +645,7 @@ begin
|
||||
Result:=documentView;
|
||||
end;
|
||||
|
||||
procedure TCocoaScrollView.setDocumentView(aView: TSetDocumentViewType);
|
||||
procedure TCocoaScrollView.setDocumentView(aView: NSView);
|
||||
begin
|
||||
inherited setDocumentView(aView);
|
||||
resetScrollRect;
|
||||
|
Loading…
Reference in New Issue
Block a user