summaryrefslogtreecommitdiff
path: root/include/m_popup.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_popup.h')
-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