mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-02 18:10:07 +02:00
cocoa: fix compilation for fpc 3.0.4
git-svn-id: trunk@63868 -
This commit is contained in:
parent
959c6b9cd3
commit
796f05d611
@ -197,6 +197,7 @@ type
|
|||||||
{$endif}
|
{$endif}
|
||||||
// 10.14
|
// 10.14
|
||||||
function appearance: NSAppearance; message 'appearance'; // 10.14 (10.13)
|
function appearance: NSAppearance; message 'appearance'; // 10.14 (10.13)
|
||||||
|
function effectiveAppearance: NSAppearance; message 'effectiveAppearance'; // 10.14 (10.13)
|
||||||
end;
|
end;
|
||||||
|
|
||||||
NSTableColumnFix = objccategory external (NSTableColumn)
|
NSTableColumnFix = objccategory external (NSTableColumn)
|
||||||
|
@ -162,7 +162,7 @@ begin
|
|||||||
Result := false;
|
Result := false;
|
||||||
Exit;
|
Exit;
|
||||||
end;
|
end;
|
||||||
if (not NSApplication(win).respondsToSelector(ObjCSelector('effectiveAppearance'))) then begin
|
if (not win.respondsToSelector(ObjCSelector('effectiveAppearance'))) then begin
|
||||||
Result := false;
|
Result := false;
|
||||||
Exit;
|
Exit;
|
||||||
end;
|
end;
|
||||||
|
@ -308,7 +308,7 @@ procedure NSResponderHotKeys(asender: NSResponder; event: NSEvent; var handled:
|
|||||||
var
|
var
|
||||||
undoManager: NSUndoManager;
|
undoManager: NSUndoManager;
|
||||||
ch : System.WideChar;
|
ch : System.WideChar;
|
||||||
msk : NSEventModifierFlags;
|
msk : LongWord; //NSEventModifierFlags;
|
||||||
chr : NSString;
|
chr : NSString;
|
||||||
const
|
const
|
||||||
NSModsMask = NSShiftKeyMask
|
NSModsMask = NSShiftKeyMask
|
||||||
|
Loading…
Reference in New Issue
Block a user