Set an event handler for the Helper Window. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Mon, 04 Aug 2008 15:58:01 +0000
branchgsoc2008_force_feedback
changeset 2586 d84c99f5401e
parent 2585 38f14c05a92c
child 2587 b4b3beaea5b5
Set an event handler for the Helper Window.
src/video/win32/SDL_win32window.c
--- a/src/video/win32/SDL_win32window.c	Mon Aug 04 15:34:22 2008 +0000
+++ b/src/video/win32/SDL_win32window.c	Mon Aug 04 15:58:01 2008 +0000
@@ -429,7 +429,7 @@
    /* Create the class. */
    ZeroMemory(&wce, sizeof (wce));
    wce.cbSize = sizeof(WNDCLASSEX);
-   wce.lpfnWndProc = NULL;
+   wce.lpfnWndProc = DefWindowProcA;
    wce.lpszClassName = (LPCWSTR) SDL_HelperWindowClassName;
    wce.hInstance = hInstance;