modified for new view flags.

This commit is contained in:
michaelp%netscape.com 1999-04-16 04:24:14 +00:00
parent 46d4754a52
commit 768d09d96e
4 changed files with 8 additions and 8 deletions

View File

@ -2088,7 +2088,7 @@ nsCSSFrameConstructor::ConstructSelectFrame(nsIPresContext* aPresContext,
nsIView *listView;
listFrame->GetView(&listView);
NS_ASSERTION(nsnull != listView,"ListFrame's view is nsnull");
listView->SetViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
listView->SetViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
// Create a place holder frame for the dropdown list
nsIFrame* placeholderFrame = nsnull;
@ -2153,7 +2153,7 @@ nsCSSFrameConstructor::ConstructSelectFrame(nsIPresContext* aPresContext,
nsIView *listView;
listFrame->GetView(&listView);
NS_ASSERTION(nsnull != listView,"ListFrame's view is nsnull");
listView->SetViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
listView->SetViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
aFrameHasBeenInitialized = PR_TRUE;
}
NS_RELEASE(select);

View File

@ -1411,7 +1411,7 @@ nsHTMLFramesetFrame::StartMouseDrag(nsIPresContext& aPresContext,
mDragger = aBorder;
//XXX This should go away! Border should have own view instead
view->SetViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
view->SetViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
// can't set it to this event's point - it is not in framesetframe coords
mLastDragPoint.MoveTo(NULL_POINT_X, NULL_POINT_Y);
@ -1503,7 +1503,7 @@ nsHTMLFramesetFrame::EndMouseDrag()
viewMan->GrabMouseEvents(nsnull, ignore);
NS_RELEASE(viewMan);
//XXX This should go away! Border should have own view instead
view->ClearViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
view->ClearViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
}
}
gDragInProgress = PR_FALSE;

View File

@ -1411,7 +1411,7 @@ nsHTMLFramesetFrame::StartMouseDrag(nsIPresContext& aPresContext,
mDragger = aBorder;
//XXX This should go away! Border should have own view instead
view->SetViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
view->SetViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
// can't set it to this event's point - it is not in framesetframe coords
mLastDragPoint.MoveTo(NULL_POINT_X, NULL_POINT_Y);
@ -1503,7 +1503,7 @@ nsHTMLFramesetFrame::EndMouseDrag()
viewMan->GrabMouseEvents(nsnull, ignore);
NS_RELEASE(viewMan);
//XXX This should go away! Border should have own view instead
view->ClearViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
view->ClearViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
}
}
gDragInProgress = PR_FALSE;

View File

@ -2088,7 +2088,7 @@ nsCSSFrameConstructor::ConstructSelectFrame(nsIPresContext* aPresContext,
nsIView *listView;
listFrame->GetView(&listView);
NS_ASSERTION(nsnull != listView,"ListFrame's view is nsnull");
listView->SetViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
listView->SetViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
// Create a place holder frame for the dropdown list
nsIFrame* placeholderFrame = nsnull;
@ -2153,7 +2153,7 @@ nsCSSFrameConstructor::ConstructSelectFrame(nsIPresContext* aPresContext,
nsIView *listView;
listFrame->GetView(&listView);
NS_ASSERTION(nsnull != listView,"ListFrame's view is nsnull");
listView->SetViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
listView->SetViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
aFrameHasBeenInitialized = PR_TRUE;
}
NS_RELEASE(select);