rem: { int i = lPtr->selectedItem; WMListItem *item;
add: {
context: WMGetListSelectedItem(WMList *lPtr){        int i = lPtr->selectedItem;    WMListItem *item;    if (lPtr->selectedItem < 0)	return NULL;        item = lPtr->items;    while (i-- > 0) {	item = item->nextPtr;    }    return item;}