lcl: graphics: make FindGraphicClassWithFileExt class function

git-svn-id: trunk@55100 -
This commit is contained in:
ondrej 2017-05-26 12:08:52 +00:00
parent c4540692a0
commit ddc1dcd643
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;