src/video/windib/SDL_dibvideo.c
branchSDL-1.2
changeset 3868 b2f59aadec0d
parent 1882 339d733e3699
child 3976 8582c6a5ca16
     1.1 --- a/src/video/windib/SDL_dibvideo.c	Sat Sep 16 12:00:03 2006 +0000
     1.2 +++ b/src/video/windib/SDL_dibvideo.c	Sat Sep 23 23:07:52 2006 +0000
     1.3 @@ -785,7 +785,12 @@
     1.4  		bounds.top = SDL_windowY;
     1.5  		bounds.right = SDL_windowX+video->w;
     1.6  		bounds.bottom = SDL_windowY+video->h;
     1.7 +#ifndef _WIN32_WCE
     1.8  		AdjustWindowRectEx(&bounds, GetWindowLong(SDL_Window, GWL_STYLE), (GetMenu(SDL_Window) != NULL), 0);
     1.9 +#else
    1.10 +		// The bMenu parameter must be FALSE; menu bars are not supported
    1.11 +		AdjustWindowRectEx(&bounds, GetWindowLong(SDL_Window, GWL_STYLE), 0, 0);
    1.12 +#endif
    1.13  		width = bounds.right-bounds.left;
    1.14  		height = bounds.bottom-bounds.top;
    1.15  		if ( (flags & SDL_FULLSCREEN) ) {