IDE: restrictionbrowser: High-DPI icons

git-svn-id: trunk@58105 -
This commit is contained in:
ondrej 2018-06-04 00:44:24 +00:00
parent dc47e847d7
commit 6052652ec3

View File

@ -98,9 +98,9 @@ begin
GroupIndex := Integer(P) + 1; GroupIndex := Integer(P) + 1;
Down := True; Down := True;
AllowAllUp := True; AllowAllUp := True;
Images := IDEImages.Images_16;
try try
IDEImages.Images_16.GetBitmap( ImageIndex := IDEImages.LoadImage('issue_'+LCLPlatformDirNames[P]);
IDEImages.LoadImage('issue_'+LCLPlatformDirNames[P]), Glyph);
except except
DebugLn('Restriction Browser: Unable to load image for ' + LCLPlatformDirNames[P] + '!'); DebugLn('Restriction Browser: Unable to load image for ' + LCLPlatformDirNames[P] + '!');
end; end;