mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 17:59:22 +02:00
cocoa: fix compilation for fpc32rc1
git-svn-id: trunk@63272 -
This commit is contained in:
parent
9566494312
commit
84a3138f6e
@ -100,7 +100,7 @@ type
|
|||||||
function runModalForWindow(theWindow: NSWindow): NSInteger; override;
|
function runModalForWindow(theWindow: NSWindow): NSInteger; override;
|
||||||
procedure lclSyncCheck(arg: id); message 'lclSyncCheck:';
|
procedure lclSyncCheck(arg: id); message 'lclSyncCheck:';
|
||||||
{$ifdef COCOAPPRUNNING_OVERRIDEPROPERTY}
|
{$ifdef COCOAPPRUNNING_OVERRIDEPROPERTY}
|
||||||
function isRunning: Boolean; override;
|
function isRunning: {$if FPC_FULLVERSION >= 30200}objc.ObjCBOOL{$else}Boolean{$endif}; override;
|
||||||
procedure stop(sender: id); override;
|
procedure stop(sender: id); override;
|
||||||
{$endif}
|
{$endif}
|
||||||
end;
|
end;
|
||||||
@ -687,7 +687,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
{$ifdef COCOAPPRUNNING_OVERRIDEPROPERTY}
|
{$ifdef COCOAPPRUNNING_OVERRIDEPROPERTY}
|
||||||
function TCocoaApplication.isRunning: Boolean;
|
function TCocoaApplication.isRunning: {$if FPC_FULLVERSION >= 30200}objc.ObjCBOOL{$else}Boolean{$endif};
|
||||||
begin
|
begin
|
||||||
Result:=not Stopped;
|
Result:=not Stopped;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user