James Hawkins : comctl32: Fix a failing test in win98.

Alexandre Julliard julliard at winehq.org
Wed Sep 3 07:43:50 CDT 2008


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

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Tue Sep  2 22:43:00 2008 -0500

comctl32: Fix a failing test in win98.

---

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

diff --git a/dlls/comctl32/tests/comboex.c b/dlls/comctl32/tests/comboex.c
index d0e0bb6..7add84b 100644
--- a/dlls/comctl32/tests/comboex.c
+++ b/dlls/comctl32/tests/comboex.c
@@ -271,7 +271,8 @@ static void test_WM_LBUTTONDOWN(void)
     result = SendMessage(hList, WM_LBUTTONUP, 0, MAKELPARAM(x, y));
     ok(!result, "WM_LBUTTONUP was not processed. LastError=%d\n",
        GetLastError());
-    todo_wine ok(GetFocus() == hEdit,
+    todo_wine ok(GetFocus() == hEdit ||
+       broken(GetFocus() == hCombo), /* win98 */
        "Focus not on ComboBoxEx's Edit Control, instead on %p\n",
        GetFocus());
 




More information about the wine-cvs mailing list