diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-28 00:01:57 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-28 00:02:08 +0300 |
commit | 874bfd75183b781c0087087502133f5bea8ade1c (patch) | |
tree | 4f7c8c08ee71005b69574ae3820ddd7611894f52 /plugins/Db_autobackups | |
parent | 7e852468c6d1a45cd4c78c4744b74e51d29e26b0 (diff) |
Menu_ModifyItem to receive icolib handle, not HICON
Diffstat (limited to 'plugins/Db_autobackups')
-rw-r--r-- | plugins/Db_autobackups/src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Db_autobackups/src/main.cpp b/plugins/Db_autobackups/src/main.cpp index e0522f1c18..39e12fced4 100644 --- a/plugins/Db_autobackups/src/main.cpp +++ b/plugins/Db_autobackups/src/main.cpp @@ -42,9 +42,9 @@ CMPlugin::CMPlugin() : static void UpdateMenuIcons()
{
if (g_plugin.disable_popups)
- Menu_ModifyItem(g_hPopupMenu, LPGENW("Enable &AutoBackups notification"), Skin_LoadIcon(SKINICON_OTHER_NOPOPUP));
+ Menu_ModifyItem(g_hPopupMenu, LPGENW("Enable &AutoBackups notification"), Skin_GetIconHandle(SKINICON_OTHER_NOPOPUP));
else
- Menu_ModifyItem(g_hPopupMenu, LPGENW("Disable &AutoBackups notification"), Skin_LoadIcon(SKINICON_OTHER_POPUP));
+ Menu_ModifyItem(g_hPopupMenu, LPGENW("Disable &AutoBackups notification"), Skin_GetIconHandle(SKINICON_OTHER_POPUP));
}
/////////////////////////////////////////////////////////////////////////////////////////
|