1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

Windows: Fix target version preprocessor definition

This now matches the definition in juce_BasicNativeHeaders.h
This commit is contained in:
reuk 2025-09-18 16:10:04 +01:00
parent 1237b34c84
commit 82cc2ab282
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -34,7 +34,7 @@
#if JUCE_WINDOWS
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x500
#define _WIN32_WINNT _WIN32_WINNT_WIN10
#undef STRICT
#define STRICT 1
#include <windows.h>

View file

@ -3981,7 +3981,8 @@ private:
return handlePositionChanging (*(WINDOWPOS*) lParam);
case 0x2e0: /* WM_DPICHANGED */ return handleDPIChanging ((int) HIWORD (wParam), *(RECT*) lParam);
case WM_DPICHANGED:
return handleDPIChanging ((int) HIWORD (wParam), *(RECT*) lParam);
case WM_WINDOWPOSCHANGED:
{