comctl32/tests: Fix a test failure in multiple platforms.
This commit is contained in:
parent
6f164d504b
commit
5cf418f521
|
@ -205,7 +205,7 @@ static void test_WM_LBUTTONDOWN(void)
|
||||||
hEdit = (HWND)SendMessage(hComboEx, CBEM_GETEDITCONTROL, 0, 0);
|
hEdit = (HWND)SendMessage(hComboEx, CBEM_GETEDITCONTROL, 0, 0);
|
||||||
|
|
||||||
cbInfo.cbSize = sizeof(COMBOBOXINFO);
|
cbInfo.cbSize = sizeof(COMBOBOXINFO);
|
||||||
result = SendMessage(hCombo, CB_GETCOMBOBOXINFO, 0, (LPARAM)&cbInfo);
|
result = GetComboBoxInfo(hCombo, &cbInfo);
|
||||||
ok(result, "Failed to get combobox info structure. LastError=%d\n",
|
ok(result, "Failed to get combobox info structure. LastError=%d\n",
|
||||||
GetLastError());
|
GetLastError());
|
||||||
hList = cbInfo.hwndList;
|
hList = cbInfo.hwndList;
|
||||||
|
|
Loading…
Reference in New Issue