mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-28 10:42:49 +02:00
opengl: getting rid of cocoa GetNSObjectView
git-svn-id: trunk@61767 -
This commit is contained in:
parent
6a0eef0c01
commit
159d5cc8cc
@ -195,7 +195,7 @@ begin
|
||||
Result:=0;
|
||||
p := nil;
|
||||
if (AParams.WndParent <> 0) then
|
||||
p := CocoaUtils.GetNSObjectView(NSObject(AParams.WndParent));
|
||||
p := NSObject(AParams.WndParent).lclContentView;
|
||||
if Assigned(p) then
|
||||
LCLToNSRect(types.Bounds(AParams.X, AParams.Y, AParams.Width, AParams.Height),
|
||||
p.frame.size.height, ns)
|
||||
|
Loading…
Reference in New Issue
Block a user