Commit bfe67814 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

comctl32/tests: Fix some test failures on older comctl32 versions.

parent 37754e49
...@@ -678,7 +678,9 @@ static void test_wm_set_get_text(void) ...@@ -678,7 +678,9 @@ static void test_wm_set_get_text(void)
hWnd = create_datetime_control(0); hWnd = create_datetime_control(0);
ret = SendMessage(hWnd, WM_SETTEXT, 0, (LPARAM)a_str); ret = SendMessage(hWnd, WM_SETTEXT, 0, (LPARAM)a_str);
expect(CB_ERR, ret); ok(CB_ERR == ret ||
broken(1 == ret), /* comctl32 <= 4.72 */
"Expected CB_ERR, got %ld\n", ret);
buff[0] = 0; buff[0] = 0;
ret = SendMessage(hWnd, WM_GETTEXT, sizeof(buff), (LPARAM)buff); ret = SendMessage(hWnd, WM_GETTEXT, sizeof(buff), (LPARAM)buff);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment