winemac: Set the parent of Cocoa views for child windows when they are created.
commitb5194d6f8300ee3114e848d1bc28207c7d4e4a7b
authorKen Thomases <ken@codeweavers.com>
Fri, 2 Dec 2016 01:38:41 +0000 (1 19:38 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 2 Dec 2016 10:43:30 +0000 (2 11:43 +0100)
tree2818f5585f8147e8a77a9435df93d43d183d8b3c
parent93ac04d6082f1f64eeaf61e17f5f664539ea1469
winemac: Set the parent of Cocoa views for child windows when they are created.

This fixes an oversight in commit d91e56863.  Some of the views created for
Win32 child windows were being left out of any view hierarchy.  OpenGL contexts
attached to such child windows and views were not able to render to screen,
leaving blank areas.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winemac.drv/window.c