Skip to content
Permalink
Browse files

*** empty log message ***

  • Loading branch information
slouken committed Aug 20, 2002
1 parent 4c10bca commit 11dec4673395b8ef951a44a4d1c5f5c98a3f6aa9
Showing with 7 additions and 7 deletions.
  1. +7 −7 src/video/windx5/SDL_dx5events.c
@@ -805,13 +805,13 @@ int DX5_CreateWindow(_THIS)
if ( SDL_windowid ) {
SDL_Window = (HWND)strtol(SDL_windowid, NULL, 0);

/* DJM: we want all event's for the user specified
window to be handled by SDL.
*/
if (SDL_Window) {
userWindowProc = (WNDPROC)GetWindowLong(SDL_Window, GWL_WNDPROC);
SetWindowLong(SDL_Window, GWL_WNDPROC, (LONG)WinMessage);
}
/* DJM: we want all event's for the user specified
window to be handled by SDL.
*/
if (SDL_Window) {
userWindowProc = (WNDPROC)GetWindowLong(SDL_Window, GWL_WNDPROC);
SetWindowLong(SDL_Window, GWL_WNDPROC, (LONG)WinMessage);
}
} else {
SDL_Window = CreateWindow(SDL_Appname, SDL_Appname,
(WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_MINIMIZEBOX),

0 comments on commit 11dec46

Please sign in to comment.