win32_window.c: trying to fix includes

This commit is contained in:
arturo 2013-07-10 12:57:05 +02:00
parent ae9bb3e9b9
commit bfdddec67c

View File

@ -33,6 +33,7 @@
#include <stdlib.h>
#include <malloc.h>
#include <windowsx.h>
#include <windows.h>
#define _GLFW_KEY_INVALID -2
@ -715,7 +716,8 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
// TODO: Restore vsync if compositing was disabled
break;
}
case WM_DROPFILES:{
case WM_DROPFILES:
{
// DragQueryFile() takes a LPWSTR for the name so we need a TCHAR string
TCHAR szName[MAX_PATH];
@ -753,9 +755,9 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
_glfwInputDrop(window,_glfw.win32.dropString);
DragFinish(hDrop);
}
break;
}
}
return DefWindowProc(hWnd, uMsg, wParam, lParam);
}