mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 09:19:32 +02:00
LCL: Enable building Darwin for PPC and PPC64. Issue #37987, patch from Alfred.
git-svn-id: trunk@64077 -
This commit is contained in:
parent
26dff51384
commit
93df80a1da
@ -12,8 +12,8 @@
|
||||
unit CarbonBars;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
{$IFNDEF cpui386}
|
||||
{$ERROR only cpu i386 is supported}
|
||||
{$IFNDEF cpu32}
|
||||
{$ERROR only 32 bit cpu is supported}
|
||||
{$ENDIF}
|
||||
|
||||
interface
|
||||
|
@ -22,8 +22,8 @@ unit Interfaces;
|
||||
{$IFNDEF CARBON}
|
||||
{$ERROR wrong interfaces source}
|
||||
{$ENDIF}
|
||||
{$IFNDEF cpui386}
|
||||
{$ERROR only cpu i386 is supported}
|
||||
{$IFNDEF cpu32}
|
||||
{$ERROR only 32 bit cpu is supported}
|
||||
{$ENDIF}
|
||||
|
||||
interface
|
||||
|
@ -543,6 +543,7 @@ begin
|
||||
else
|
||||
wnd := nil;
|
||||
|
||||
{$ifndef CPUPOWERPC}
|
||||
if (theEvent.type_ = NSKeyDown)
|
||||
and not (win.firstResponder.conformsToProtocol(objcprotocol(NSTextInputClientProtocol))) then
|
||||
begin
|
||||
@ -553,6 +554,7 @@ begin
|
||||
end;
|
||||
inputctx.handleEvent(theEvent);
|
||||
end;
|
||||
{$endif}
|
||||
|
||||
cb.KeyEvBefore(theEvent, allowcocoa);
|
||||
if allowcocoa then
|
||||
|
Loading…
Reference in New Issue
Block a user