winemac: WS_EX_DLGMODALFRAME shouldn't prevent the window being resizeable.

This commit is contained in:
Huw Davies 2014-11-13 09:26:22 +00:00 committed by Alexandre Julliard
parent 4517780988
commit bc47d4925a
1 changed files with 2 additions and 2 deletions

View File

@ -72,12 +72,12 @@ static void get_cocoa_window_features(struct macdrv_win_data *data,
if (ex_style & WS_EX_TOOLWINDOW) wf->utility = TRUE;
}
}
if (ex_style & WS_EX_DLGMODALFRAME) wf->shadow = TRUE;
else if (style & WS_THICKFRAME)
if (style & WS_THICKFRAME)
{
wf->shadow = TRUE;
if (!data->shaped) wf->resizable = TRUE;
}
else if (ex_style & WS_EX_DLGMODALFRAME) wf->shadow = TRUE;
else if ((style & (WS_DLGFRAME|WS_BORDER)) == WS_DLGFRAME) wf->shadow = TRUE;
}