This commit is contained in:
hyatt%netscape.com 1999-09-08 08:06:12 +00:00
Родитель 43eca09bd8
Коммит 67e49e9460
3 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -62,6 +62,7 @@ XUL_ATOM(treecol, "treecol") // A column in the tree view
XUL_ATOM(treecolgroup, "treecolgroup") // A column group in the tree view
XUL_ATOM(treefoot, "treefoot") // The footer of the tree view
XUL_ATOM(treepusher, "treepusher") // A column pusher (left or right) for the tree view
XUL_ATOM(scrollbarlist, "scrollbarlist") // An atom for internal use by the tree view
XUL_ATOM(open, "open") // Whether or not a menu, tree, etc. is open

Просмотреть файл

@ -563,8 +563,7 @@ nsTreeRowGroupFrame::GetFrameForPoint(const nsPoint& aPoint, nsIFrame** aFrame)
NS_IMETHODIMP
nsTreeRowGroupFrame::FirstChild(nsIAtom* aListName, nsIFrame** aFirstChild) const
{
nsCOMPtr<nsIAtom> scrollList = dont_AddRef(NS_NewAtom("scrollbarlist"));
if (scrollList.get() == aListName) {
if (nsXULAtoms::scrollbarlist == aListName) {
*aFirstChild = mScrollbarList.FirstChild();
return NS_OK;
}
@ -580,7 +579,8 @@ nsTreeRowGroupFrame::GetAdditionalChildListName(PRInt32 aIndex,
*aListName = nsnull;
if (aIndex == 0) {
*aListName = NS_NewAtom("scrollbarlist"); // AddRefs
*aListName = nsXULAtoms::scrollbarlist;
NS_IF_ADDREF(*aListName);
}
return NS_OK;

Просмотреть файл

@ -62,6 +62,7 @@ XUL_ATOM(treecol, "treecol") // A column in the tree view
XUL_ATOM(treecolgroup, "treecolgroup") // A column group in the tree view
XUL_ATOM(treefoot, "treefoot") // The footer of the tree view
XUL_ATOM(treepusher, "treepusher") // A column pusher (left or right) for the tree view
XUL_ATOM(scrollbarlist, "scrollbarlist") // An atom for internal use by the tree view
XUL_ATOM(open, "open") // Whether or not a menu, tree, etc. is open