diff options
Diffstat (limited to 'plugins/NotesAndReminders/src/notes.cpp')
-rw-r--r-- | plugins/NotesAndReminders/src/notes.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/NotesAndReminders/src/notes.cpp b/plugins/NotesAndReminders/src/notes.cpp index 76f001cea1..25f372b1e7 100644 --- a/plugins/NotesAndReminders/src/notes.cpp +++ b/plugins/NotesAndReminders/src/notes.cpp @@ -1325,17 +1325,17 @@ INT_PTR CALLBACK StickyNoteWndProc(HWND hdlg,UINT message,WPARAM wParam,LPARAM l {
HICON hcIcon;
if (SN->OnTop)
- hcIcon = Skin_GetIconByHandle(hIconLibItem[4]);
+ hcIcon = Skin_GetIconByHandle(iconList[4].hIcolib);
else
- hcIcon = Skin_GetIconByHandle(hIconLibItem[7]);
+ hcIcon = Skin_GetIconByHandle(iconList[7].hIcolib);
DrawIcon(hdc, wr.right - wr.left - 16, 0 + 3, hcIcon);
Skin_ReleaseIcon(hcIcon);
- hcIcon = Skin_GetIconByHandle(hIconLibItem[9]);
+ hcIcon = Skin_GetIconByHandle(iconList[9].hIcolib);
DrawIcon(hdc, wr.right - wr.left - 32, 1 + 3, hcIcon);
Skin_ReleaseIcon(hcIcon);
- hcIcon = Skin_GetIconByHandle(hIconLibItem[8]);
+ hcIcon = Skin_GetIconByHandle(iconList[8].hIcolib);
DrawIcon(hdc, wr.right - wr.left - 48, 1 + 3, hcIcon);
Skin_ReleaseIcon(hcIcon);
}
@@ -1960,9 +1960,9 @@ INT_PTR CALLBACK DlgProcViewNotes(HWND Dialog,UINT Message,WPARAM wParam,LPARAM {
HWND H;
- HICON hIcon = Skin_GetIconByHandle(hIconLibItem[13], ICON_SMALL);
+ HICON hIcon = Skin_GetIconByHandle(iconList[13].hIcolib, ICON_SMALL);
SendMessage(Dialog, WM_SETICON, (WPARAM)ICON_SMALL, (LPARAM)hIcon);
- hIcon = Skin_GetIconByHandle(hIconLibItem[13], ICON_BIG);
+ hIcon = Skin_GetIconByHandle(iconList[13].hIcolib, ICON_BIG);
SendMessage(Dialog, WM_SETICON, (WPARAM)ICON_BIG, (LPARAM)hIcon);
SetWindowText(Dialog, _T("Notes"));
|