mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
Merge 984fc9476f into d6181bde38
This commit is contained in:
commit
8a99bc1a71
7 changed files with 54 additions and 9 deletions
|
|
@ -3064,10 +3064,10 @@ AccessibilityHandler* Component::getAccessibilityHandler()
|
|||
// By assigning the accessibility handler before notifying the system that an element was
|
||||
// created, the if() predicate above should evaluate to false on recursive calls,
|
||||
// terminating the recursion.
|
||||
if (accessibilityHandler != nullptr)
|
||||
detail::AccessibilityHelpers::notifyAccessibilityEvent (*accessibilityHandler, detail::AccessibilityHelpers::Event::elementCreated);
|
||||
else
|
||||
jassertfalse; // createAccessibilityHandler must return non-null
|
||||
// if (accessibilityHandler != nullptr)
|
||||
// notifyAccessibilityEventInternal (*accessibilityHandler, InternalAccessibilityEvent::elementCreated);
|
||||
// else
|
||||
// jassertfalse; // createAccessibilityHandler must return non-null
|
||||
}
|
||||
|
||||
return accessibilityHandler.get();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue