diff options
Diffstat (limited to 'plugins/UserInfoEx')
-rw-r--r-- | plugins/UserInfoEx/src/mir_menuitems.cpp | 2 | ||||
-rw-r--r-- | plugins/UserInfoEx/src/mir_menuitems.h | 2 | ||||
-rw-r--r-- | plugins/UserInfoEx/src/svc_refreshci.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/UserInfoEx/src/mir_menuitems.cpp b/plugins/UserInfoEx/src/mir_menuitems.cpp index 9ff015ce1c..3777556d28 100644 --- a/plugins/UserInfoEx/src/mir_menuitems.cpp +++ b/plugins/UserInfoEx/src/mir_menuitems.cpp @@ -28,7 +28,7 @@ enum ECascadeType { MCAS_NOTINITIATED = 128
};
-int hMenuItemRefresh = NULL;
+HGENMENU hMenuItemRefresh = NULL;
HGENMENU *hMenuItemAccount = NULL;
/**
diff --git a/plugins/UserInfoEx/src/mir_menuitems.h b/plugins/UserInfoEx/src/mir_menuitems.h index a081037513..612f45fcab 100644 --- a/plugins/UserInfoEx/src/mir_menuitems.h +++ b/plugins/UserInfoEx/src/mir_menuitems.h @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef _UINFOEX_MENUITEMS_H_INCLUDED_
#define _UINFOEX_MENUITEMS_H_INCLUDED_
-extern int hMenuItemRefresh;
+extern HGENMENU hMenuItemRefresh;
extern HGENMENU *hMenuItemAccount;
diff --git a/plugins/UserInfoEx/src/svc_refreshci.cpp b/plugins/UserInfoEx/src/svc_refreshci.cpp index 5c4e87ae87..2db5949405 100644 --- a/plugins/UserInfoEx/src/svc_refreshci.cpp +++ b/plugins/UserInfoEx/src/svc_refreshci.cpp @@ -614,7 +614,7 @@ class CContactUpdater : public CContactQueue clmi.flags = CMIM_NAME|CMIM_ICON;
clmi.pszName = LPGEN("Refresh Contact Details");
clmi.hIcon = IcoLib_GetIcon(ICO_BTN_UPDATE);
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM) hMenuItemRefresh, (LPARAM)&clmi);
+ Menu_ModifyItem(hMenuItemRefresh, &clmi);
}
}
@@ -740,7 +740,7 @@ public: clmi.flags = CMIM_NAME|CMIM_ICON;
clmi.pszName = LPGEN("Abort Refreshing Contact Details");
clmi.hIcon = IcoLib_GetIcon(ICO_BTN_CANCEL);
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM) hMenuItemRefresh, (LPARAM) &clmi);
+ Menu_ModifyItem(hMenuItemRefresh, &clmi);
}
}
|