static gboolean removeSelectionCB(AtkSelection *aSelection, gint i) { AccessibleWrap* accWrap = GetAccessibleWrap(ATK_OBJECT(aSelection)); if (!accWrap || !accWrap->IsSelect()) return FALSE; return accWrap->RemoveItemFromSelection(i); }
static gboolean removeSelectionCB(AtkSelection *aSelection, gint i) { AccessibleWrap* accWrap = GetAccessibleWrap(ATK_OBJECT(aSelection)); if (accWrap && accWrap->IsSelect()) { return accWrap->RemoveItemFromSelection(i); } if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { return proxy->RemoveItemFromSelection(i); } return FALSE; }