comctl32/tests: Fix a test failure in multiple platforms

Nicolas Le Cam niko.lecam at gmail.com
Sun Jul 20 15:44:00 CDT 2008


---
 dlls/comctl32/tests/comboex.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/tests/comboex.c b/dlls/comctl32/tests/comboex.c
index eca7ca4..5714365 100644
--- a/dlls/comctl32/tests/comboex.c
+++ b/dlls/comctl32/tests/comboex.c
@@ -205,7 +205,7 @@ static void test_WM_LBUTTONDOWN(void)
     hEdit = (HWND)SendMessage(hComboEx, CBEM_GETEDITCONTROL, 0, 0);
 
     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",
        GetLastError());
     hList = cbInfo.hwndList;
-- 
1.5.4.3


--=-LxdOCynhHDO9vEp4gXdk--




More information about the wine-patches mailing list