Add a test for GW_HWNDLAST

Dmitry Timoshkov dmitry at baikal.ru
Mon Apr 12 23:02:28 CDT 2004


Hello,

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Add a test for GW_HWNDLAST.

--- cvs/hq/wine/dlls/user/tests/win.c	Tue Apr 13 02:17:44 2004
+++ wine/dlls/user/tests/win.c	Sun Apr 11 02:40:18 2004
@@ -1244,6 +1244,7 @@ static void test_window_tree(HWND parent
     hwnd = GetWindow(parent, GW_CHILD);
     ok(hwnd != 0, "GetWindow(GW_CHILD) failed\n");
     ok(hwnd == GetWindow(child[total - 1], GW_HWNDFIRST), "GW_HWNDFIRST is wrong\n");
+    ok(child[order[total - 1]] == GetWindow(child[0], GW_HWNDLAST), "GW_HWNDLAST is wrong\n");
 
     for (i = 0; i < total; i++)
     {






More information about the wine-patches mailing list