mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 01:49:25 +02:00
Masks: remove TWindowsMaskList.MatchesWindowsMask. It should never have been there, since it does not resolve a backwards compatibility issue (there never existed a TWindowsMaskList before).
This commit is contained in:
parent
dc18060660
commit
7b8159908e
@ -364,11 +364,6 @@ type
|
||||
constructor Create(const aValue: String; aSeparator: Char; aOptions: TMaskOptions); override;
|
||||
deprecated 'Use Create with TMaskOpcodes paramater';
|
||||
|
||||
//Remove in 2.5
|
||||
function MatchesWindowsMask(const AFileName: String): Boolean; reintroduce;
|
||||
deprecated 'Use a Matches instead.';
|
||||
|
||||
|
||||
property Quirks: TWindowsQuirks read fWindowsQuirks write SetQuirks;
|
||||
end;
|
||||
|
||||
@ -590,10 +585,6 @@ begin
|
||||
Create(aValue, aSeparator, (moCaseSensitive in aOptions), DefaultMaskOpCodes, DefaultWindowsQuirks);
|
||||
end;
|
||||
|
||||
function TWindowsMaskList.MatchesWindowsMask(const AFileName: String): Boolean;
|
||||
begin
|
||||
Result := Matches(AFilename);
|
||||
end;
|
||||
|
||||
{ EMaskError }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user