wineconsole: Allow maximization.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48706
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit da395975b0)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
stable
Roman Pišl 2020-03-06 15:22:55 +01:00 committed by Michael Stefaniuc
parent ff4fc1c862
commit b3da036c2e
1 changed files with 1 additions and 1 deletions

View File

@ -1437,7 +1437,7 @@ enum init_return WCUSER_InitBackend(struct inner_data* data)
RegisterClassW(&wndclass);
data->hWnd = CreateWindowW(wndclass.lpszClassName, NULL,
WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_THICKFRAME|WS_MINIMIZEBOX|WS_HSCROLL|WS_VSCROLL,
WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_THICKFRAME|WS_MINIMIZEBOX|WS_MAXIMIZEBOX|WS_HSCROLL|WS_VSCROLL,
CW_USEDEFAULT, CW_USEDEFAULT, 0, 0, 0, 0, wndclass.hInstance, data);
if (!data->hWnd) return init_not_supported;