mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 00:19:37 +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;
|
||||
procedure lclSyncCheck(arg: id); message 'lclSyncCheck:';
|
||||
{$ifdef COCOAPPRUNNING_OVERRIDEPROPERTY}
|
||||
function isRunning: Boolean; override;
|
||||
function isRunning: {$if FPC_FULLVERSION >= 30200}objc.ObjCBOOL{$else}Boolean{$endif}; override;
|
||||
procedure stop(sender: id); override;
|
||||
{$endif}
|
||||
end;
|
||||
@ -687,7 +687,7 @@ begin
|
||||
end;
|
||||
|
||||
{$ifdef COCOAPPRUNNING_OVERRIDEPROPERTY}
|
||||
function TCocoaApplication.isRunning: Boolean;
|
||||
function TCocoaApplication.isRunning: {$if FPC_FULLVERSION >= 30200}objc.ObjCBOOL{$else}Boolean{$endif};
|
||||
begin
|
||||
Result:=not Stopped;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user