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>
stable
Alistair Leslie-Hughes 2019-08-01 03:28:56 +00:00 committed by Alexandre Julliard
parent 8a430feec4
commit e2adb9b74c
1 changed files with 2 additions and 2 deletions

View File

@ -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