LCL: Clear also Images list for icons. Issue #24937, patch from ChrisF

git-svn-id: trunk@42555 -
This commit is contained in:
juha 2013-09-02 09:57:56 +00:00
parent a435bd680f
commit 86148df684

View File

@ -164,6 +164,7 @@ var
begin
for n := 0 to FImages.Count - 1 do
TObject(FImages[n]).Free;
FImages.Clear;
end;
function TSharedIcon.GetIndex(AFormat: TPixelFormat; AHeight, AWidth: Word): Integer;