Browse Source

Windows: Replaced WM_DPICHANGED with its numerical value for < 8.1 compatibility

tags/2021-05-28
ed 7 years ago
parent
commit
e02611bcb0
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      modules/juce_gui_basics/native/juce_win32_Windowing.cpp

+ 3
- 3
modules/juce_gui_basics/native/juce_win32_Windowing.cpp View File

@@ -3508,9 +3508,9 @@ private:
break;
//==============================================================================
case WM_SIZING: return handleSizeConstraining (*(RECT*) lParam, wParam);
case WM_WINDOWPOSCHANGING: return handlePositionChanging (*(WINDOWPOS*) lParam);
case WM_DPICHANGED: return handleDPIChanging ((int) HIWORD (wParam), *(RECT*) lParam);
case WM_SIZING: return handleSizeConstraining (*(RECT*) lParam, wParam);
case WM_WINDOWPOSCHANGING: return handlePositionChanging (*(WINDOWPOS*) lParam);
case 0x2e0: /* WM_DPICHANGED */ return handleDPIChanging ((int) HIWORD (wParam), *(RECT*) lParam);
case WM_WINDOWPOSCHANGED:
{


Loading…
Cancel
Save