예제 #1
0
NS_IMETHODIMP nsViewManager::InsertChild(nsIView *aParent, nsIView *aChild, PRInt32 aZIndex)
{
  // no-one really calls this with anything other than aZIndex == 0 on a fresh view
  // XXX this method should simply be eliminated and its callers redirected to the real method
  SetViewZIndex(aChild, false, aZIndex, false);
  return InsertChild(aParent, aChild, nsnull, true);
}
예제 #2
0
void
nsViewManager::InsertChild(nsView *aParent, nsView *aChild, int32_t aZIndex)
{
    // no-one really calls this with anything other than aZIndex == 0 on a fresh view
    // XXX this method should simply be eliminated and its callers redirected to the real method
    SetViewZIndex(aChild, false, aZIndex, false);
    InsertChild(aParent, aChild, nullptr, true);
}