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:
parent
1237b34c84
commit
82cc2ab282
2 changed files with 3 additions and 2 deletions
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
#if JUCE_WINDOWS
|
#if JUCE_WINDOWS
|
||||||
#undef _WIN32_WINNT
|
#undef _WIN32_WINNT
|
||||||
#define _WIN32_WINNT 0x500
|
#define _WIN32_WINNT _WIN32_WINNT_WIN10
|
||||||
#undef STRICT
|
#undef STRICT
|
||||||
#define STRICT 1
|
#define STRICT 1
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
|
||||||
|
|
@ -3981,7 +3981,8 @@ private:
|
||||||
|
|
||||||
return handlePositionChanging (*(WINDOWPOS*) lParam);
|
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:
|
case WM_WINDOWPOSCHANGED:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue