diff options
author | George Hazan <george.hazan@gmail.com> | 2013-12-22 20:43:19 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-12-22 20:43:19 +0000 |
commit | 3b664c75939fc44fdb905c1df69a6e5c57a5c0ce (patch) | |
tree | 4c27cf606a81e0bb5aaefb7a69b08f4bbe4aa998 /plugins/UserInfoEx/src/mir_icolib.cpp | |
parent | b02e4589fbe33a2f623f044c2056a831f47bbe37 (diff) |
fix for getting icons from icolib;
git-svn-id: http://svn.miranda-ng.org/main/trunk@7345 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/mir_icolib.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/mir_icolib.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/plugins/UserInfoEx/src/mir_icolib.cpp b/plugins/UserInfoEx/src/mir_icolib.cpp index e483aec7b2..ab1f1bedd9 100644 --- a/plugins/UserInfoEx/src/mir_icolib.cpp +++ b/plugins/UserInfoEx/src/mir_icolib.cpp @@ -177,18 +177,6 @@ static void IcoLib_CheckIconPackVersion(LPTSTR szIconPack) }
/**
- * Returns a icon, identified by a name
- *
- * @param pszIcon - name of the icon
- *
- * @return: HICON if the icon is loaded, NULL otherwise
- **/
-HICON IcoLib_GetIcon(LPCSTR pszIcon)
-{
- return (pszIcon) ? Skin_GetIcon(pszIcon) : NULL;
-}
-
-/**
* Set the icon of each control in the list
*
* @param hDlg - handle to the dialog control, that owns the controls
@@ -200,7 +188,7 @@ HICON IcoLib_GetIcon(LPCSTR pszIcon) void IcoLib_SetCtrlIcons(HWND hDlg, const ICONCTRL* pCtrl, BYTE numCtrls)
{
for (int i = 0; i < numCtrls; i++) {
- HICON hIcon = IcoLib_GetIcon(pCtrl[i].pszIcon);
+ HICON hIcon = Skin_GetIcon(pCtrl[i].pszIcon);
if (pCtrl[i].idCtrl) {
HWND hCtrl = GetDlgItem(hDlg, pCtrl[i].idCtrl);
switch (pCtrl[i].Message) {
|