mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 23:49:36 +02:00
cocoa: removing extra null-character from the clipboard text. Patch by Zoë Peterson. bug #35984
git-svn-id: trunk@61731 -
This commit is contained in:
parent
4c8e23a373
commit
3b11854e5c
@ -254,6 +254,12 @@ begin
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
function TCocoaWidgetSet.ClipboardFormatNeedsNullByte(
|
||||
const AFormat: TPredefinedClipboardFormat): Boolean;
|
||||
begin
|
||||
Result := False
|
||||
end;
|
||||
|
||||
function TCocoaWidgetSet.CombineRgn(Dest, Src1, Src2: HRGN; fnCombineMode: Longint): Longint;
|
||||
begin
|
||||
Result := LCLType.Error;
|
||||
|
@ -42,6 +42,7 @@ function ClipboardGetOwnerShip(ClipboardType: TClipboardType;
|
||||
OnRequestProc: TClipboardRequestEvent; FormatCount: integer;
|
||||
Formats: PClipboardFormat): boolean; override;
|
||||
function ClipboardRegisterFormat(const AMimeType: string): TClipboardFormat; override;
|
||||
function ClipboardFormatNeedsNullByte(const AFormat: TPredefinedClipboardFormat): Boolean; override;
|
||||
|
||||
function CombineRgn(Dest, Src1, Src2: HRGN; fnCombineMode: Longint): Longint; override;
|
||||
function CreateBitmap(Width, Height: Integer; Planes, BitCount: Longint; BitmapBits: Pointer): HBITMAP; override;
|
||||
|
Loading…
Reference in New Issue
Block a user