Nicolas Le Cam : comctl32/tests: Fix a test failure in multiple platforms.

Alexandre Julliard julliard at winehq.org
Wed Jul 23 07:10:10 CDT 2008


Module: wine
Branch: master
Commit: 5cf418f5218d46e28c00f15ba2eb5748888794f6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5cf418f5218d46e28c00f15ba2eb5748888794f6

Author: Nicolas Le Cam <niko.lecam at gmail.com>
Date:   Sun Jul 20 22:44:00 2008 +0200

comctl32/tests: Fix a test failure in multiple platforms.

---

 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;




More information about the wine-cvs mailing list