changeset 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 b4b3beaea5b5
files src/video/win32/SDL_win32window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;