From 3f9882178018afbe9aaaba1f4461f3fc75493260 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 15 Jun 2015 14:23:02 +0000 Subject: MS_SKIN_LOADICON & MS_SKIN_LOADPROTOICON replaced with direct function calls git-svn-id: http://svn.miranda-ng.org/main/trunk@14176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryPlusPlus/hpp_options.pas | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'plugins/HistoryPlusPlus') diff --git a/plugins/HistoryPlusPlus/hpp_options.pas b/plugins/HistoryPlusPlus/hpp_options.pas index 52e6546d0a..cafbbabd2f 100644 --- a/plugins/HistoryPlusPlus/hpp_options.pas +++ b/plugins/HistoryPlusPlus/hpp_options.pas @@ -302,19 +302,6 @@ begin WriteDBBool(hppDBName,'InlineTextFormatting',Value); end; -{function LoadIconFromDB(ID: Integer; Icon: TIcon): Boolean; -var - hic: HIcon; -begin - Result := False; - hic := LoadSkinnedIcon(ID); - if (hic <> 0) then begin - hic := CopyIcon(hic); - Icon.Handle := hic; - Result := True; - end; -end;} - procedure LoadIcons; var i: Integer; @@ -330,7 +317,7 @@ begin // LoadIconFromDB(SKINICON_OTHER_MIRANDA,GridOptions.IconOther); for i := 0 to High(skinIcons) do begin - ic := LoadSkinnedIcon(skinIcons[i].id); + ic := Skin_LoadIcon(skinIcons[i].id,0); if skinIcons[i].handle <> ic then begin skinIcons[i].handle := ic; -- cgit v1.2.3