[Bug 3928] EnunChildWindows fails to find a child window who did setParent
http://bugs.winehq.org/show_bug.cgi?id=3928 ------- Additional Comments From vitaliy(a)kievinfo.com 2005-29-11 09:54 ------- Sorry, but your thoery is incorrect. Here is the test that you suggested: Index: win.c =================================================================== RCS file: /home/wine/wine/dlls/user/tests/win.c,v retrieving revision 1.74 diff -u -p -r1.74 win.c --- win.c 29 Nov 2005 11:04:33 -0000 1.74 +++ win.c 29 Nov 2005 15:53:01 -0000 @@ -471,8 +471,15 @@ static void test_parent_owner(void) ok( !EnumChildWindows( owner, EnumChildProc, (LPARAM)&numChildren ), "EnumChildWindows should have returned FALSE\n" ); ok( numChildren == 2, "numChildren should be 2 got %d\n", numChildren ); + DestroyWindow( child ); + child = create_tool_window( WS_VISIBLE | WS_OVERLAPPEDWINDOW, owner ); + numChildren = 0; + ok( EnumChildWindows( owner, EnumChildProc, (LPARAM)&numChildren ), + "EnumChildWindows should have returned TRUE\n" ); + ok( numChildren == 1, "numChildren should be 1 got %d\n", numChildren ); DestroyWindow( child ); + DestroyWindow( test ); DestroyWindow( owner ); } -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs