Remove sysmenu and close button, they just can't work
This commit is contained in:
parent
da3f185491
commit
dba56f02fe
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -287,7 +287,7 @@ HRESULT __stdcall ddraw_SetDisplayMode(IDirectDrawImpl *This, DWORD width, DWORD
|
|||
|
||||
mouse_unlock();
|
||||
|
||||
SetWindowLong(This->hWnd, GWL_STYLE, GetWindowLong(This->hWnd, GWL_STYLE) | WS_CAPTION | WS_BORDER | WS_SYSMENU /*| WS_MINIMIZEBOX*/);
|
||||
SetWindowLong(This->hWnd, GWL_STYLE, GetWindowLong(This->hWnd, GWL_STYLE) | WS_CAPTION | WS_BORDER);
|
||||
|
||||
/* center the window with correct dimensions */
|
||||
int x = (mode.dmPelsWidth / 2) - (This->width / 2);
|
||||
|
|
Loading…
Reference in a new issue