# HG changeset patch # User Edgar Simo # Date 1217849359 0 # Node ID a1c00531ee00c9636d4143dac92fa8613bf9eb0f # Parent 64fa227c01cef09c6cdfee6a11280ea3227ff51d Minor changes for it to compile. diff -r 64fa227c01ce -r a1c00531ee00 src/video/win32/SDL_win32window.c --- a/src/video/win32/SDL_win32window.c Mon Aug 04 11:22:01 2008 +0000 +++ b/src/video/win32/SDL_win32window.c Mon Aug 04 11:29:19 2008 +0000 @@ -420,18 +420,18 @@ int SDL_HelperWindowCreate(void) { - HINSTANCE hInstance = pGetModuleHandleA(NULL); + HINSTANCE hInstance = GetModuleHandleA(NULL); const char *class_name = "SDLHelperWindowInputCatcher"; const char *win_name = "SDLHelperWindowInputMsgWindow"; WNDCLASSEX wce; ZeroMemory(&wce, sizeof (wce)); wce.cbSize = sizeof(WNDCLASSEX); - wce.lpfnWndProc = RawWndProc; + wce.lpfnWndProc = NULL; wce.lpszClassName = class_name; wce.hInstance = hInstance; - SDL_HelperWindow = pCreateWindowExA(0, class_name, win_name, WS_OVERLAPPEDWINDOW, + SDL_HelperWindow = CreateWindowExA(0, class_name, win_name, WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, HWND_MESSAGE, NULL, hInstance, NULL); @@ -451,7 +451,7 @@ SDL_HelperWindowDestroy(void) { if (SDL_HelperWindow) { - pDestroyWindow(SDL_HelperWindow); + DestroyWindow(SDL_HelperWindow); SDL_HelperWindow = NULL; } }