Commented out some code in Init() that was causing problems for the scrolling

view code


git-svn-id: svn://10.0.0.236/trunk@13550 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com 1998-10-27 05:57:18 +00:00
parent f404081f95
commit 74701acb12

View File

@ -255,8 +255,13 @@ NS_IMETHODIMP nsView :: Init(nsIViewManager* aManager,
SetVisibility(aVisibilityFlag);
// XXX Don't clear this or we hork the scrolling view when creating the clip
// view's widget. It needs to stay set and later the view manager will reset it
// when the view is inserted into the view hierarchy...
#if 0
//clear this again...
SetParent(nsnull);
#endif
return NS_OK;
}