Module: wine Branch: master Commit: e2adb9b74c679ad06e9d75431d0f3ab51e736460 URL: https://source.winehq.org/git/wine.git/?a=commit;h=e2adb9b74c679ad06e9d75431...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Thu Aug 1 03:28:56 2019 +0000
include: Use macro SNDMSG to send messages.
Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
include/commctrl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/commctrl.h b/include/commctrl.h index 745a028..66981a3 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