summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper/src/ui.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-04-12 20:19:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-04-12 20:19:50 +0300
commitb439b465f5ab39ac06cf9b32ab927cca787e4cfe (patch)
tree6c4498e08d5d53e7c89064a15f34f459199a0e3b /plugins/CrashDumper/src/ui.cpp
parent98cc3ea974062d69d7d2f80957724c7997ab21a3 (diff)
wiping custom icolib functions: CrashDumper
Diffstat (limited to 'plugins/CrashDumper/src/ui.cpp')
-rw-r--r--plugins/CrashDumper/src/ui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CrashDumper/src/ui.cpp b/plugins/CrashDumper/src/ui.cpp
index 67a73d1bb7..50c7dd944c 100644
--- a/plugins/CrashDumper/src/ui.cpp
+++ b/plugins/CrashDumper/src/ui.cpp
@@ -44,7 +44,7 @@ public:
bool OnInitDialog() override
{
- Window_SetIcon_IcoLib(m_hwnd, GetIconHandle(IDI_VI));
+ Window_SetIcon_IcoLib(m_hwnd, g_plugin.getIconHandle(IDI_VI));
{
CHARFORMAT2 chf;
chf.cbSize = sizeof(chf);
@@ -317,7 +317,7 @@ void ShowMessage(int type, const wchar_t *format, ...)
va_end(va);
mir_wstrcpy(ppd.lpwzContactName, _A2W(MODULENAME));
- ppd.lchIcon = LoadIconEx(IDI_VI);
+ ppd.lchIcon = g_plugin.getIcon(IDI_VI);
ppd.PluginWindowProc = DlgProcPopup;
ppd.PluginData = (void*)type;
PUAddPopupW(&ppd);