static gboolean clearSelectionCB(AtkSelection *aSelection) { AccessibleWrap* accWrap = GetAccessibleWrap(ATK_OBJECT(aSelection)); if (!accWrap || !accWrap->IsSelect()) return FALSE; return accWrap->UnselectAll(); }
static gboolean clearSelectionCB(AtkSelection *aSelection) { AccessibleWrap* accWrap = GetAccessibleWrap(ATK_OBJECT(aSelection)); if (accWrap && accWrap->IsSelect()) { return accWrap->UnselectAll(); } if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { return proxy->UnselectAll(); } return FALSE; }