src/video/win32/SDL_win32events.c
changeset 4902 50d0bff24d81
parent 4900 69d9db65f248
child 4919 716b2cbf4c9e
equal deleted inserted replaced
4901:deadc1219bea 4902:50d0bff24d81
   112     if (SDL_GetEventState(SDL_SYSWMEVENT) == SDL_ENABLE) {
   112     if (SDL_GetEventState(SDL_SYSWMEVENT) == SDL_ENABLE) {
   113         SDL_SysWMmsg wmmsg;
   113         SDL_SysWMmsg wmmsg;
   114 
   114 
   115         SDL_VERSION(&wmmsg.version);
   115         SDL_VERSION(&wmmsg.version);
   116         wmmsg.subsystem = SDL_SYSWM_WINDOWS;
   116         wmmsg.subsystem = SDL_SYSWM_WINDOWS;
   117         wmmsg.msg.win.hwnd = hwnd;
   117         wmmsg.win.hwnd = hwnd;
   118         wmmsg.msg.win.msg = msg;
   118         wmmsg.win.msg = msg;
   119         wmmsg.msg.win.wParam = wParam;
   119         wmmsg.win.wParam = wParam;
   120         wmmsg.msg.win.lParam = lParam;
   120         wmmsg.win.lParam = lParam;
   121         SDL_SendSysWMEvent(&wmmsg);
   121         SDL_SendSysWMEvent(&wmmsg);
   122     }
   122     }
   123 
   123 
   124     /* Get the window data for the window */
   124     /* Get the window data for the window */
   125     data = (SDL_WindowData *) GetProp(hwnd, TEXT("SDL_WindowData"));
   125     data = (SDL_WindowData *) GetProp(hwnd, TEXT("SDL_WindowData"));