mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1243077 - add AccessibleOrProxy::FirstChild() r=davidb
This commit is contained in:
parent
837faf1b04
commit
01aa6d9da8
@ -73,6 +73,18 @@ public:
|
||||
return AsAccessible()->GetChildAt(aIdx);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the first child object.
|
||||
*/
|
||||
AccessibleOrProxy FirstChild()
|
||||
{
|
||||
if (IsProxy()) {
|
||||
return AsProxy()->FirstChild();
|
||||
}
|
||||
|
||||
return AsAccessible()->FirstChild();
|
||||
}
|
||||
|
||||
role Role() const
|
||||
{
|
||||
if (IsProxy()) {
|
||||
|
Loading…
Reference in New Issue
Block a user