Browse Source

Fix MinGW build

v7.0.9
attila 2 years ago
parent
commit
cd17f96eb7
3 changed files with 11 additions and 3 deletions
  1. +1
    -1
      modules/juce_gui_basics/native/accessibility/juce_AccessibilityElement_windows.cpp
  2. +2
    -2
      modules/juce_gui_basics/native/accessibility/juce_AccessibilityElement_windows.h
  3. +8
    -0
      modules/juce_gui_basics/native/accessibility/juce_ComInterfaces_windows.h

+ 1
- 1
modules/juce_gui_basics/native/accessibility/juce_AccessibilityElement_windows.cpp View File

@@ -187,7 +187,7 @@ JUCE_COMRESULT AccessibilityNativeHandle::get_ProviderOptions (ProviderOptions*
*options = (ProviderOptions) (ProviderOptions_ServerSideProvider | ProviderOptions_UseComThreading);
if (AccessibilityHandler::getNativeChildForComponent (accessibilityHandler.getComponent()) != nullptr)
*options |= ProviderOptions_OverrideProvider;
*options = (ProviderOptions) (*options | ProviderOptions_OverrideProvider);
return S_OK;
}


+ 2
- 2
modules/juce_gui_basics/native/accessibility/juce_AccessibilityElement_windows.h View File

@@ -27,9 +27,9 @@ namespace juce
{
class AccessibilityNativeHandle : public ComBaseClassHelper<IRawElementProviderSimple,
IRawElementProviderHwndOverride,
ComTypes::IRawElementProviderFragment,
ComTypes::IRawElementProviderFragmentRoot>
ComTypes::IRawElementProviderFragmentRoot,
ComTypes::IRawElementProviderHwndOverride>
{
public:
explicit AccessibilityNativeHandle (AccessibilityHandler& handler);


+ 8
- 0
modules/juce_gui_basics/native/accessibility/juce_ComInterfaces_windows.h View File

@@ -280,6 +280,13 @@ public:
JUCE_COMCALL get_FragmentRoot (__RPC__deref_out_opt IRawElementProviderFragmentRoot * *pRetVal) = 0;
};
JUCE_COMCLASS (IRawElementProviderHwndOverride, "1d5df27c-8947-4425-b8d9-79787bb460b8") : public IUnknown
{
public:
JUCE_COMCALL GetOverrideProviderForHwnd (__RPC__in HWND hwnd,
__RPC__deref_out_opt IRawElementProviderSimple** pRetVal) = 0;
};
JUCE_COMCLASS (IExpandCollapseProvider, "d847d3a5-cab0-4a98-8c32-ecb45c59ad24") : public IUnknown
{
public:
@@ -473,6 +480,7 @@ constexpr CLSID CLSID_SpVoice { 0x96749377, 0x3391, 0x11D2, { 0x9E, 0xE3, 0x00,
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL (juce::ComTypes::IRawElementProviderFragmentRoot, 0x620ce2a5, 0xab8f, 0x40a9, 0x86, 0xcb, 0xde, 0x3c, 0x75, 0x59, 0x9b, 0x58)
__CRT_UUID_DECL (juce::ComTypes::IRawElementProviderFragment, 0xf7063da8, 0x8359, 0x439c, 0x92, 0x97, 0xbb, 0xc5, 0x29, 0x9a, 0x7d, 0x87)
__CRT_UUID_DECL (juce::ComTypes::IRawElementProviderHwndOverride, 0x1d5df27c, 0x8947, 0x4425, 0xb8, 0xd9, 0x79, 0x78, 0x7b, 0xb4, 0x60, 0xb8)
__CRT_UUID_DECL (juce::ComTypes::IExpandCollapseProvider, 0xd847d3a5, 0xcab0, 0x4a98, 0x8c, 0x32, 0xec, 0xb4, 0x5c, 0x59, 0xad, 0x24)
__CRT_UUID_DECL (juce::ComTypes::IGridItemProvider, 0xd02541f1, 0xfb81, 0x4d64, 0xae, 0x32, 0xf5, 0x20, 0xf8, 0xa6, 0xdb, 0xd1)
__CRT_UUID_DECL (juce::ComTypes::IGridProvider, 0xb17d6187, 0x0907, 0x464b, 0xa1, 0x68, 0x0e, 0xf1, 0x7a, 0x15, 0x72, 0xb1)


Loading…
Cancel
Save