src/video/win32/SDL_win32window.c
changeset 2968 efe4d0ce2e97
parent 2876 3fcb0d447bcd
child 2970 94b634c56455
equal deleted inserted replaced
2967:e4a469d6ddab 2968:efe4d0ce2e97
   375                        (style & WS_CHILDWINDOW) ? FALSE : (GetMenu(hwnd) !=
   375                        (style & WS_CHILDWINDOW) ? FALSE : (GetMenu(hwnd) !=
   376                                                            NULL), 0);
   376                                                            NULL), 0);
   377     w = (rect.right - rect.left);
   377     w = (rect.right - rect.left);
   378     h = (rect.bottom - rect.top);
   378     h = (rect.bottom - rect.top);
   379 
   379 
   380     SetWindowPos(hwnd, top, 0, 0, h, w, (SWP_NOCOPYBITS | SWP_NOMOVE));
   380     SetWindowPos(hwnd, top, 0, 0, w, h, (SWP_NOCOPYBITS | SWP_NOMOVE));
   381 }
   381 }
   382 
   382 
   383 void
   383 void
   384 WIN_ShowWindow(_THIS, SDL_Window * window)
   384 WIN_ShowWindow(_THIS, SDL_Window * window)
   385 {
   385 {