# HG changeset patch # User Edgar Simo # Date 1217865481 0 # Node ID d84c99f5401edb364e85f5e9917469fecd19ff42 # Parent 38f14c05a92c6ed00d9e54bebcb6e62e3b87c775 Set an event handler for the Helper Window. diff -r 38f14c05a92c -r d84c99f5401e 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;