rem: { if (index < 0) { if (bPtr->view->flags.mapped) paintPopUpButton(bPtr); return; }
add: {  wassertr(index < WMGetBagItemCount(bPtr->items));
context: WMSetPopUpButtonSelectedItem(WMPopUpButton *bPtr, int index){        if (index < 0) {	if (bPtr->view->flags.mapped)	    paintPopUpButton(bPtr);	return;    }        bPtr->selectedItemIndex = index;        if (bPtr->view->flags.mapped)	paintPopUpButton(bPtr);}