http://bugs.winehq.org/show_bug.cgi?id=3928
Summary: EnunChildWindows fails to find a child window who did setParent Product: Wine Version: 0.9.1. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P4 Component: wine-gui AssignedTo: wine-bugs@winehq.org ReportedBy: andrew7webb@comcast.net
PROBLEM: EnunChildWindows() fails to find a child window who did setParent().
There are two windows, "WidgetTest2" and "DockingWidget". "DockingWidget" is created with "WidgetTest2" as its parent.
"WidgetTest2" later calls EnumChildWindows( This->handle(), EnumChildProc, (LPARAM)0 ) But although EnumChildWindows returns true, EnumChildProc is never called.
WINE OUTPUT OF PROGRAM: "EnumChildWindows returned true"
WINDOWS OUTPUT OF PROGRAM: I can break on the DestroyWindow( hwndChild ); inside EnumChildProc().
HOW TO REPRODUCE THE PROBLEM: Run either the WINE or windows program and try to close the outer window. On windows the program will exit, but on WINE it hangs because the docked window is not destroyed.