diff options
author | George Hazan <ghazan@miranda.im> | 2019-04-12 22:47:25 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-04-12 22:47:25 +0300 |
commit | d2f5ad41bb7f997495f90e7a508dea77da42939f (patch) | |
tree | 856f2dcdbb01756444adf70814ebcad93b39f0db /plugins/NoHistory/src/options.cpp | |
parent | 7d7ba37ac0d566bd6126372fb96cff519138a0d4 (diff) |
resident icons removed
Diffstat (limited to 'plugins/NoHistory/src/options.cpp')
-rw-r--r-- | plugins/NoHistory/src/options.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/NoHistory/src/options.cpp b/plugins/NoHistory/src/options.cpp index c7e2a35027..3e754678fa 100644 --- a/plugins/NoHistory/src/options.cpp +++ b/plugins/NoHistory/src/options.cpp @@ -102,11 +102,11 @@ static INT_PTR CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA hwndList = GetDlgItem(hwndDlg, IDC_LIST);
{
HIMAGELIST hIml = ImageList_Create(GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), ILC_COLOR32 | ILC_MASK, 2, 2);
- ImageList_AddIcon(hIml, hIconKeep);
- ImageList_AddIcon(hIml, hIconRemove);
+ ImageList_AddIcon(hIml, g_plugin.getIcon(IDI_HKEEP));
+ ImageList_AddIcon(hIml, g_plugin.getIcon(IDI_HREMOVE));
SendMessage(hwndList, CLM_SETEXTRAIMAGELIST, 0, (LPARAM)hIml);
- SendDlgItemMessage(hwndDlg, IDC_PIC_KEEP, STM_SETICON, (WPARAM)hIconKeep, 0);
- SendDlgItemMessage(hwndDlg, IDC_PIC_REMOVE, STM_SETICON, (WPARAM)hIconRemove, 0);
+ SendDlgItemMessage(hwndDlg, IDC_PIC_KEEP, STM_SETICON, (WPARAM)g_plugin.getIcon(IDI_HKEEP), 0);
+ SendDlgItemMessage(hwndDlg, IDC_PIC_REMOVE, STM_SETICON, (WPARAM)g_plugin.getIcon(IDI_HREMOVE), 0);
}
ResetListOptions(hwndList);
SendMessage(hwndList, CLM_SETEXTRACOLUMNS, 1, 0);
|