summaryrefslogtreecommitdiff
path: root/plugins/YAPP/src/yapp_history_dlg.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-05-19 11:51:08 +0000
committerRobert Pösel <robyer@seznam.cz>2013-05-19 11:51:08 +0000
commit02d3a913e0f9c77f814293b771790e13d0e0f3de (patch)
tree7874ecbac542d94f5487bfb17c998b10d6e64203 /plugins/YAPP/src/yapp_history_dlg.cpp
parent9521b9fe8c50ad111e79544f955eb4354310b41e (diff)
YAPP:
- Added icon to enable/disable popups into toptoolbar - Fixes for icons - added support for icolib, added main menu icons, used standardized icons + big icon for history window - Version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@4726 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP/src/yapp_history_dlg.cpp')
-rw-r--r--plugins/YAPP/src/yapp_history_dlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/YAPP/src/yapp_history_dlg.cpp b/plugins/YAPP/src/yapp_history_dlg.cpp
index 9de3e8eda5..d6e25c41e4 100644
--- a/plugins/YAPP/src/yapp_history_dlg.cpp
+++ b/plugins/YAPP/src/yapp_history_dlg.cpp
@@ -14,7 +14,6 @@
#define ANCHOR_ALL ANCHOR_LEFT | ANCHOR_RIGHT | ANCHOR_TOP | ANCHOR_BOTTOM
HWND hHistoryWindow = 0; //the history window
-HICON hiPopupHistory; //popup history icon
PopupHistoryList lstPopupHistory; //defined in main.cpp
const TCHAR *szHistoryColumns[] = {_T("Title"), _T("Message"), _T("Timestamp")}; //need to make sure that the string and size vectors have the same number of elements
@@ -583,7 +582,8 @@ INT_PTR CALLBACK DlgProcHistLst(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara
{
int renderer = lstPopupHistory.GetRenderer();
- SendMessage(hWnd, WM_SETICON, ICON_BIG, (LPARAM) hiPopupHistory);
+ SendMessage(hWnd, WM_SETICON, ICON_SMALL, (LPARAM)IcoLib_GetIcon(ICO_HISTORY,0));
+ SendMessage(hWnd, WM_SETICON, ICON_BIG, (LPARAM)IcoLib_GetIcon(ICO_HISTORY,1));
LoadRenderer(hWnd, renderer);