comparison src/video/win32/SDL_win32window.c @ 2586:d84c99f5401e gsoc2008_force_feedback

Set an event handler for the Helper Window.
author Edgar Simo <bobbens@gmail.com>
date Mon, 04 Aug 2008 15:58:01 +0000
parents 38f14c05a92c
children 7961f1f74dc8
comparison
equal deleted inserted replaced
2585:38f14c05a92c 2586:d84c99f5401e
427 WNDCLASSEX wce; 427 WNDCLASSEX wce;
428 428
429 /* Create the class. */ 429 /* Create the class. */
430 ZeroMemory(&wce, sizeof (wce)); 430 ZeroMemory(&wce, sizeof (wce));
431 wce.cbSize = sizeof(WNDCLASSEX); 431 wce.cbSize = sizeof(WNDCLASSEX);
432 wce.lpfnWndProc = NULL; 432 wce.lpfnWndProc = DefWindowProcA;
433 wce.lpszClassName = (LPCWSTR) SDL_HelperWindowClassName; 433 wce.lpszClassName = (LPCWSTR) SDL_HelperWindowClassName;
434 wce.hInstance = hInstance; 434 wce.hInstance = hInstance;
435 435
436 /* Register the class. */ 436 /* Register the class. */
437 SDL_HelperWindowClass = RegisterClassExA(&wce); 437 SDL_HelperWindowClass = RegisterClassExA(&wce);