diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-15 14:23:02 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-15 14:23:02 +0000 |
commit | 3f9882178018afbe9aaaba1f4461f3fc75493260 (patch) | |
tree | 50554bd4a21472624c94a859bfdc5e8758becd45 /plugins/HistoryPlusPlus/hpp_options.pas | |
parent | 547ec570deb26f93fa4ab974a76c0e964a635586 (diff) |
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
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_options.pas')
-rw-r--r-- | plugins/HistoryPlusPlus/hpp_options.pas | 15 |
1 files changed, 1 insertions, 14 deletions
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;
|