From 6052652ec32530a37c3d0e2f03c1ccbbf008c257 Mon Sep 17 00:00:00 2001 From: ondrej Date: Mon, 4 Jun 2018 00:44:24 +0000 Subject: [PATCH] IDE: restrictionbrowser: High-DPI icons git-svn-id: trunk@58105 - --- ide/restrictionbrowser.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ide/restrictionbrowser.pas b/ide/restrictionbrowser.pas index 99347bf862..1178d91797 100644 --- a/ide/restrictionbrowser.pas +++ b/ide/restrictionbrowser.pas @@ -98,9 +98,9 @@ begin GroupIndex := Integer(P) + 1; Down := True; AllowAllUp := True; + Images := IDEImages.Images_16; try - IDEImages.Images_16.GetBitmap( - IDEImages.LoadImage('issue_'+LCLPlatformDirNames[P]), Glyph); + ImageIndex := IDEImages.LoadImage('issue_'+LCLPlatformDirNames[P]); except DebugLn('Restriction Browser: Unable to load image for ' + LCLPlatformDirNames[P] + '!'); end;