summaryrefslogtreecommitdiff
path: root/plugins/HistorySweeperLight/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-04-13 20:22:59 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-04-13 20:22:59 +0300
commit680873487c4a7987012606119a744e5ca725ad30 (patch)
tree8e5fbc68a253c3ec44287754c9295670f1ee44c3 /plugins/HistorySweeperLight/src/main.cpp
parent6c4136504c660bf3359e6641362672c4b9502be5 (diff)
merge with trunk
Diffstat (limited to 'plugins/HistorySweeperLight/src/main.cpp')
-rw-r--r--plugins/HistorySweeperLight/src/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/HistorySweeperLight/src/main.cpp b/plugins/HistorySweeperLight/src/main.cpp
index 7d4ecd5311..416c83f319 100644
--- a/plugins/HistorySweeperLight/src/main.cpp
+++ b/plugins/HistorySweeperLight/src/main.cpp
@@ -70,7 +70,7 @@ static int OnModulesLoaded(WPARAM, LPARAM)
StatusIconData sid = {};
sid.szModule = MODULENAME;
- sid.hIcon = LoadIconEx("actG");
+ sid.hIcon = g_plugin.getIcon(IDI_ACTG);
if (sweep == 0)
sid.szTooltip.w = LPGENW("Keep all events");
else if (sweep == 1)
@@ -84,17 +84,17 @@ static int OnModulesLoaded(WPARAM, LPARAM)
Srmm_AddIcon(&sid, &g_plugin);
sid.dwId = 1;
- sid.hIcon = LoadIconEx("act1");
+ sid.hIcon = g_plugin.getIcon(IDI_ACT1);
sid.szTooltip.w = time_stamp_strings[g_plugin.getByte("StartupShutdownOlder", 0)];
Srmm_AddIcon(&sid, &g_plugin);
sid.dwId = 2;
- sid.hIcon = LoadIconEx("act2");
+ sid.hIcon = g_plugin.getIcon(IDI_ACT2);
sid.szTooltip.w = keep_strings[g_plugin.getByte("StartupShutdownKeep", 0)];
Srmm_AddIcon(&sid, &g_plugin);
sid.dwId = 3;
- sid.hIcon = LoadIconEx("actDel");
+ sid.hIcon = g_plugin.getIcon(IDI_ACTDEL);
sid.szTooltip.w = LPGENW("Delete all events");
Srmm_AddIcon(&sid, &g_plugin);