summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-10-02 19:03:35 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-10-02 19:03:35 +0000
commit2566e91de88b60694d9bf346dca707252f0165a9 (patch)
tree9f84552c60198034ee3e815c29e50e75144f03d2 /include
parent0603b6d7050a237f899d29f5557e3682447dd811 (diff)
part2
git-svn-id: http://svn.miranda-ng.org/main/trunk@15499 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/m_popup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/m_popup.h b/include/m_popup.h
index 11fc2d3bc6..a418066a60 100644
--- a/include/m_popup.h
+++ b/include/m_popup.h
@@ -326,9 +326,10 @@ Send this message when you want to destroy the popup, or use the function below.
wParam = 0
lParam = 0
*/
+#define MS_POPUP_DESTROYPOPUP "Popup/Delete"
#define UM_DESTROYPOPUP (WM_USER + 0x0201)
static int __inline PUDeletePopup(HWND hWndPopup) {
- return (int)SendMessage(hWndPopup, UM_DESTROYPOPUP, 0, 0);
+ return (int)CallService(MS_POPUP_DESTROYPOPUP, 0, (LPARAM)hWndPopup);
}
/* UM_INITPOPUP