summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-11-02 20:40:32 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-11-02 20:40:32 +0300
commit5797a7f1443a3596017c7fa9b5a4815682ba3cec (patch)
tree3da2a13d60ac173d8e08fade0831252d36f6517c /include
parent8e436ee2cd6d226ba8c82f8493e77c66d3fb95da (diff)
no need to wipe out toolbar buttons anymore
Diffstat (limited to 'include')
-rw-r--r--include/m_message.h2
-rw-r--r--include/m_srmm_int.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/m_message.h b/include/m_message.h
index 9c9e421f50..3b484a8cb0 100644
--- a/include/m_message.h
+++ b/include/m_message.h
@@ -228,7 +228,7 @@ struct StatusIconClickData
struct BBButton
{
const char *pszModuleName; // module name without spaces and underline symbols (e.g. "tabsrmm")
- DWORD dwButtonID; // your button ID, will be combined with pszModuleName for storing settings, etc...
+ int dwButtonID; // your button ID, will be combined with pszModuleName for storing settings, etc...
const wchar_t *pwszText; // button's text, might be NULL
const wchar_t *pwszTooltip; // button's tooltip, might be NULL
diff --git a/include/m_srmm_int.h b/include/m_srmm_int.h
index 9c7770d955..4cb529a47e 100644
--- a/include/m_srmm_int.h
+++ b/include/m_srmm_int.h
@@ -78,7 +78,7 @@ EXTERN_C MIR_APP_DLL(CustomButtonData*) Srmm_GetNthButton(int i);
EXTERN_C MIR_APP_DLL(int) Srmm_GetButtonCount(void);
// emulates a click on a toolbar button
-EXTERN_C MIR_APP_DLL(void) Srmm_ClickToolbarIcon(MCONTACT hContact, DWORD idFrom, HWND hwndFrom, BOOL code);
+EXTERN_C MIR_APP_DLL(void) Srmm_ClickToolbarIcon(MCONTACT hContact, int idFrom, HWND hwndFrom, BOOL code);
// these messages are sent to the message windows if toolbar buttons are changed
#define WM_CBD_FIRST (WM_USER+0x600)