summaryrefslogtreecommitdiff
path: root/include/m_popup.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-10 20:47:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-10 20:47:51 +0000
commit68d3fd47bb9b75e65859d14199ffee01f16ac9a7 (patch)
treefcc340ad7067561e57733b287f193a7dbed93dd4 /include/m_popup.h
parent7193759b046338c6f47ff2edb34743a1465791cd (diff)
HCONTACT is not needed anymore
git-svn-id: http://svn.miranda-ng.org/main/trunk@8086 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_popup.h')
-rw-r--r--include/m_popup.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/m_popup.h b/include/m_popup.h
index 72f3d11b62..3b4cfc6240 100644
--- a/include/m_popup.h
+++ b/include/m_popup.h
@@ -32,7 +32,7 @@ mi.position = 0; //You don't need it and it's better if you put it to zero.
// Extended popup data
typedef struct
{
- HCONTACT lchContact;
+ MCONTACT lchContact;
HICON lchIcon;
union
{
@@ -55,7 +55,7 @@ typedef struct
// Unicode version of POPUPDATA
typedef struct
{
- HCONTACT lchContact;
+ MCONTACT lchContact;
HICON lchIcon;
union
{
@@ -130,9 +130,9 @@ lParam = 0;
Returns: the HANDLE of the contact. Can return NULL, meaning it's the main contact. -1 means failure.
*/
#define MS_POPUP_GETCONTACT "Popup/GetContact"
-static HCONTACT __inline PUGetContact(HWND hPopupWindow)
+static MCONTACT __inline PUGetContact(HWND hPopupWindow)
{
- return (HCONTACT)CallService(MS_POPUP_GETCONTACT, (WPARAM)hPopupWindow, 0);
+ return (MCONTACT)CallService(MS_POPUP_GETCONTACT, (WPARAM)hPopupWindow, 0);
}
/* Popup/GetPluginData
@@ -375,7 +375,7 @@ typedef struct {
const TCHAR *ptszText;
};
void *PluginData;
- HCONTACT hContact;
+ MCONTACT hContact;
} POPUPDATACLASS;
// wParam = 0