mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 07:39:26 +02:00
lcl: graphics: make FindGraphicClassWithFileExt class function
git-svn-id: trunk@55100 -
This commit is contained in:
parent
c4540692a0
commit
ddc1dcd643
@ -997,7 +997,7 @@ type
|
||||
class procedure RegisterClipboardFormat(FormatID: TClipboardFormat;
|
||||
AGraphicClass: TGraphicClass);
|
||||
class procedure UnregisterGraphicClass(AClass: TGraphicClass);
|
||||
function FindGraphicClassWithFileExt(const Ext: string;
|
||||
class function FindGraphicClassWithFileExt(const Ext: string;
|
||||
ExceptionOnNotFound: boolean = true): TGraphicClass;
|
||||
public
|
||||
property Bitmap: TBitmap read GetBitmap write SetBitmap;
|
||||
|
@ -732,7 +732,7 @@ begin
|
||||
SetGraphic(nil);
|
||||
end;
|
||||
|
||||
function TPicture.FindGraphicClassWithFileExt(const Ext: string;
|
||||
class function TPicture.FindGraphicClassWithFileExt(const Ext: string;
|
||||
ExceptionOnNotFound: boolean): TGraphicClass;
|
||||
var
|
||||
FileExt: String;
|
||||
|
Loading…
Reference in New Issue
Block a user