rem: W_ReparentView(W_TabViewItemView(item), tPtr->view, 1, tPtr->tabHeight + 1);
add: if (tPtr->flags.bordered) { W_ReparentView(W_TabViewItemView(item), tPtr->view, 1, tPtr->tabHeight + 1);
context: WMInsertItemInTabView(WMTabView *tPtr, int index, WMTabViewItem *item){    wassertr(W_TabViewItemView(item) != NULL);    if (tPtr->maxItems == tPtr->itemCount) {	WMTabViewItem **items;	items = wrealloc(tPtr->items,			 sizeof(WMTabViewItem*) * (tPtr->maxItems + 10));	memset(&items[tPtr->maxItems], 0, sizeof(WMTabViewItem*) * 10);	tPtr->items = items;	tPtr->maxItems += 10;    }    if (index > tPtr->itemCount)	index = tPtr->itemCount;    if (index == 0 && tPtr->items[0]) {	W_UnmapTabViewItem(tPtr->items[0]);    }    if (index < tPtr->itemCount) {	memmove(&tPtr->items[index + 1], &tPtr->items[index],		tPtr->itemCount - index);    }    tPtr->items[index] = item;    tPtr->itemCount++;    recalcTabWidth(tPtr);    W_SetTabViewItemParent(item, tPtr);    W_UnmapTabViewItem(item);    W_ReparentView(W_TabViewItemView(item), tPtr->view, 1, 		   tPtr->tabHeight + 1);    W_ResizeView(W_TabViewItemView(item), tPtr->view->size.width - 3,		 tPtr->view->size.height - tPtr->tabHeight - 3);    if (index == 0) {	W_MapTabViewItem(item);    }    if (tPtr->delegate && tPtr->delegate->didChangeNumberOfItems)	(*tPtr->delegate->didChangeNumberOfItems)(tPtr->delegate, tPtr);}