nsIFrame* frame = nsnull; mParentBox->GetFrame(&frame);  PRBool isHorizontal = !(frame->GetStateBits() & NS_STATE_IS_HORIZONTAL);
PRBool isHorizontal = !(mParentBox->GetStateBits() & NS_STATE_IS_HORIZONTAL);
nsSplitterFrameInner::EnsureOrient(){  nsIFrame* frame = nsnull;  mParentBox->GetFrame(&frame);  PRBool isHorizontal = !(frame->GetStateBits() & NS_STATE_IS_HORIZONTAL);  if (isHorizontal)    mOuter->mState |= NS_STATE_IS_HORIZONTAL;  else    mOuter->mState &= ~NS_STATE_IS_HORIZONTAL;}