1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Accessibility: Correctly report number of disclosed rows in TreeView on macOS

This commit is contained in:
reuk 2022-07-04 20:30:08 +01:00
parent 081412eb13
commit dd92f66387
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
3 changed files with 58 additions and 0 deletions

View file

@ -56,6 +56,9 @@ public:
/** Returns the AccessibilityHandler of the table which contains the cell. */
virtual const AccessibilityHandler* getTableHandler() const = 0;
/** Returns a list of the accessibility elements that are disclosed by this element, if any. */
virtual std::vector<const AccessibilityHandler*> getDisclosedRows() const { return {}; }
};
} // namespace juce