[PATCH 04/13] include: Use macro SNDMSG to send messages
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Wed Jul 31 22:28:56 CDT 2019
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
include/commctrl.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/commctrl.h b/include/commctrl.h
index 745a0286b6..69a2e145ce 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -5166,9 +5166,9 @@ static const WCHAR WC_COMBOBOXW[] = { 'C','o','m','b','o','B','o','x',0 };
#define CB_GETCUEBANNER (CBM_FIRST + 4)
#define ComboBox_GetMinVisible(hwnd) \
- ((int)SendMessage((hwnd), CB_GETMINVISIBLE, 0, 0))
+ ((INT)SNDMSG((hwnd), CB_GETMINVISIBLE, 0, 0))
#define ComboBox_SetMinVisible(hwnd, count) \
- ((BOOL)SendMessage((hwnd), CB_SETMINVISIBLE, (WPARAM)(count), 0))
+ ((BOOL)SNDMSG((hwnd), CB_SETMINVISIBLE, (WPARAM)(count), 0))
/**************************************************************************
* Edit control
--
2.17.1
More information about the wine-devel
mailing list