diff --git a/modules/juce_gui_basics/native/accessibility/juce_win32_WindowsUIAWrapper.h b/modules/juce_gui_basics/native/accessibility/juce_win32_WindowsUIAWrapper.h index a6ac0cff81..c540d315f3 100644 --- a/modules/juce_gui_basics/native/accessibility/juce_win32_WindowsUIAWrapper.h +++ b/modules/juce_gui_basics/native/accessibility/juce_win32_WindowsUIAWrapper.h @@ -124,7 +124,7 @@ private: } //============================================================================== - template + template static FuncType getUiaFunction (HMODULE module, StringRef funcName) { return (FuncType) GetProcAddress (module, funcName); diff --git a/modules/juce_gui_basics/native/juce_win32_Windowing.cpp b/modules/juce_gui_basics/native/juce_win32_Windowing.cpp index bd686ff409..bd9af1544f 100644 --- a/modules/juce_gui_basics/native/juce_win32_Windowing.cpp +++ b/modules/juce_gui_basics/native/juce_win32_Windowing.cpp @@ -614,7 +614,7 @@ static POINT POINTFromPoint (Point p) noexcept { return { p.x, p.y //============================================================================== static const Displays::Display* getCurrentDisplayFromScaleFactor (HWND hwnd); -template +template static Rectangle convertPhysicalScreenRectangleToLogical (Rectangle r, HWND h) noexcept { if (isPerMonitorDPIAwareWindow (h)) @@ -623,7 +623,7 @@ static Rectangle convertPhysicalScreenRectangleToLogical (Rectangle +template static Rectangle convertLogicalScreenRectangleToPhysical (Rectangle r, HWND h) noexcept { if (isPerMonitorDPIAwareWindow (h)) diff --git a/modules/juce_gui_basics/widgets/juce_ListBox.cpp b/modules/juce_gui_basics/widgets/juce_ListBox.cpp index f1a3d449d4..9831293b8d 100644 --- a/modules/juce_gui_basics/widgets/juce_ListBox.cpp +++ b/modules/juce_gui_basics/widgets/juce_ListBox.cpp @@ -26,7 +26,7 @@ namespace juce { -template +template static AccessibilityActions getListRowAccessibilityActions (RowComponentType& rowComponent) { auto onFocus = [&rowComponent]