mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 20:19:24 +02:00
cocoa: fix formatting
git-svn-id: trunk@43649 -
This commit is contained in:
parent
39872a9b0a
commit
06375fba9b
@ -929,9 +929,7 @@ begin
|
|||||||
if TCocoaWindowContent(handle).isembedded then
|
if TCocoaWindowContent(handle).isembedded then
|
||||||
TCocoaWindowContent(handle).lclRelativePos(Left, Top)
|
TCocoaWindowContent(handle).lclRelativePos(Left, Top)
|
||||||
else
|
else
|
||||||
begin
|
|
||||||
TCocoaWindowContent(handle).window.lclRelativePos(Left, Top);
|
TCocoaWindowContent(handle).window.lclRelativePos(Left, Top);
|
||||||
end;
|
|
||||||
end
|
end
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -187,11 +187,11 @@ class procedure TCocoaWSMenuItem.DestroyHandle(const AMenuItem: TMenuItem);
|
|||||||
var
|
var
|
||||||
callback: IMenuItemCallback;
|
callback: IMenuItemCallback;
|
||||||
callbackObject: TObject;
|
callbackObject: TObject;
|
||||||
item : TCocoaMenuItem;
|
item: TCocoaMenuItem;
|
||||||
begin
|
begin
|
||||||
if AMenuItem.Caption <> '-' then
|
if AMenuItem.Caption <> '-' then
|
||||||
begin
|
begin
|
||||||
item:=TCocoaMenuItem(AMenuItem.Handle);
|
item := TCocoaMenuItem(AMenuItem.Handle);
|
||||||
callback := item.lclGetCallback;
|
callback := item.lclGetCallback;
|
||||||
if Assigned(callback) then
|
if Assigned(callback) then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user