src/video/win32/SDL_win32window.c
branchgsoc2008_force_feedback
changeset 2586 d84c99f5401e
parent 2585 38f14c05a92c
child 2649 7961f1f74dc8
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);