mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 15:00:26 +02:00
LCL: Fix CF_Text and CF_BITMAP for Clipboard. Issue #27194, patch from AlexeyT.
git-svn-id: trunk@56423 -
This commit is contained in:
parent
c67468c16a
commit
10b7f2d141
@ -301,12 +301,12 @@ end;
|
||||
|
||||
function CF_Text: TClipboardFormat;
|
||||
begin
|
||||
Result:=PredefinedClipboardFormat(pcfDelphiText);
|
||||
Result:=PredefinedClipboardFormat(pcfText);
|
||||
end;
|
||||
|
||||
function CF_Bitmap: TClipboardFormat;
|
||||
begin
|
||||
Result:=PredefinedClipboardFormat(pcfDelphiBitmap);
|
||||
Result:=PredefinedClipboardFormat(pcfBitmap);
|
||||
end;
|
||||
|
||||
function CF_Picture: TClipboardFormat;
|
||||
|
@ -2722,13 +2722,13 @@ type
|
||||
pcfDelphiPicture,
|
||||
pcfDelphiMetaFilePict,
|
||||
pcfDelphiObject,
|
||||
pcfDelphiComponent,
|
||||
pcfDelphiComponent {,
|
||||
|
||||
// Kylix definitions (only for compatibility)
|
||||
pcfKylixPicture,
|
||||
pcfKylixBitmap,
|
||||
pcfKylixDrawing,
|
||||
pcfKylixComponent
|
||||
pcfKylixComponent }
|
||||
);
|
||||
|
||||
const
|
||||
@ -2748,13 +2748,13 @@ const
|
||||
'Delphi Picture',
|
||||
'image/delphi.metafilepict',
|
||||
'application/delphi.object',
|
||||
'Delphi Component',
|
||||
'Delphi Component' {,
|
||||
|
||||
// Kylix definitons (only for compatibility)
|
||||
'image/delphi.picture',
|
||||
'image/delphi.bitmap',
|
||||
'image/delphi.drawing',
|
||||
'application/delphi.component'
|
||||
'application/delphi.component' }
|
||||
);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user