mirror of
https://github.com/glfw/glfw.git
synced 2025-07-29 02:50:02 +00:00
win32_window.c: trying to fix includes
This commit is contained in:
parent
ae9bb3e9b9
commit
bfdddec67c
@ -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,8 +755,8 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
|
||||
_glfwInputDrop(window,_glfw.win32.dropString);
|
||||
|
||||
DragFinish(hDrop);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return DefWindowProc(hWnd, uMsg, wParam, lParam);
|
||||
|
Loading…
Reference in New Issue
Block a user