summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ctrl_combo.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-06-16 13:12:47 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-06-16 13:12:47 +0300
commit2893a08123145b216404cb9691850ebaf11c7fe6 (patch)
treebf1aabafc7c806efe4d80ab84028d38e606c01fe /plugins/UserInfoEx/src/ctrl_combo.h
parent88998a47b210daa8006844f419f66a4e3dc23e20 (diff)
UInfoEx: fix for retrieving data + major code cleaning
Diffstat (limited to 'plugins/UserInfoEx/src/ctrl_combo.h')
-rw-r--r--plugins/UserInfoEx/src/ctrl_combo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/ctrl_combo.h b/plugins/UserInfoEx/src/ctrl_combo.h
index 618a5441fa..fccd1b9e64 100644
--- a/plugins/UserInfoEx/src/ctrl_combo.h
+++ b/plugins/UserInfoEx/src/ctrl_combo.h
@@ -53,9 +53,9 @@ public:
*
*
**/
- static FORCEINLINE CCombo* GetObj(HWND hCtrl)
+ static __forceinline CCombo* GetObj(HWND hCtrl)
{ return (CCombo*) GetUserData(hCtrl); }
- static FORCEINLINE CCombo* GetObj(HWND hDlg, uint16_t idCtrl)
+ static __forceinline CCombo* GetObj(HWND hDlg, uint16_t idCtrl)
{ return GetObj(GetDlgItem(hDlg, idCtrl)); }
static CBaseCtrl* CreateObj(HWND hDlg, uint16_t idCtrl, LPCSTR pszSetting, uint8_t bDBDataType, LPIDSTRLIST pList, int nListCount);