Commit 3800e91e authored by Duane Clark's avatar Duane Clark Committed by Alexandre Julliard

A window with a WS_EX_APPWINDOW extended style can also get a menu.

parent fde88066
......@@ -1142,7 +1142,8 @@ static HWND WIN_CreateWindowEx( CREATESTRUCTA *cs, ATOM classAtom,
/* Set the window menu */
if ((wndPtr->dwStyle & (WS_CAPTION | WS_CHILD)) == WS_CAPTION )
if ((wndPtr->dwStyle & WS_CAPTION || wndPtr->dwExStyle & WS_EX_APPWINDOW)
&& !( wndPtr->dwStyle & WS_CHILD) )
{
if (cs->hMenu) SetMenu(hwnd, cs->hMenu);
else
......
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