diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-23 12:53:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-23 12:53:10 +0000 |
commit | 201ace762530e0bec270301fd23f039af3872875 (patch) | |
tree | b8bbdad29aacf4e1f0ff77ce828ccf33088e9bec /plugins/Clist_modern/src/modern_tbbutton.cpp | |
parent | bd80013253c1fabc856c05c4f839d00ec18b2b06 (diff) |
fix for the TTB OnIcoLibChange hook
git-svn-id: http://svn.miranda-ng.org/main/trunk@1120 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_tbbutton.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_tbbutton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_tbbutton.cpp b/plugins/Clist_modern/src/modern_tbbutton.cpp index 9d0402324e..ce37acb5ae 100644 --- a/plugins/Clist_modern/src/modern_tbbutton.cpp +++ b/plugins/Clist_modern/src/modern_tbbutton.cpp @@ -423,7 +423,7 @@ static LRESULT CALLBACK ToolbarButtonProc(HWND hwndDlg, UINT msg, WPARAM wParam case MBM_REFRESHICOLIBICON:
if (bct->hIcolibHandle)
- bct->hIcon = (HICON)CallService(MS_SKIN2_GETICONBYHANDLE, 0 , (LPARAM) bct->hIcolibHandle);
+ bct->hIcon = Skin_GetIconByHandle(bct->hIcolibHandle);
else
bct->hIcon = NULL;
InvalidateRect(hwndDlg,NULL,TRUE);
|