git-svn-id: svn://10.0.0.236/trunk@38523 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
saari%netscape.com
1999-07-07 00:48:06 +00:00
parent da55f7431e
commit fbba59b47c

View File

@@ -777,6 +777,9 @@ void nsWebShellWindow::LoadSubMenu(
pnsMenu->Create(supports, menuName);
NS_RELEASE(supports); // Balance QI
// Open the node so that the contents are visible.
menuElement->SetAttribute("open", "true");
// Set nsMenu Name
pnsMenu->SetLabel(menuName);
// Make nsMenu a child of parent nsMenu
@@ -906,7 +909,7 @@ void nsWebShellWindow::DynamicLoadMenus(nsIDOMDocument * aDOMDoc, nsIWidget * aP
} // end if ( nsnull != pnsMenuBar )
}
} // end if (menuBar)
} // nsWebShellWindow::LoadMenus
} // nsWebShellWindow::DynamicLoadMenus
//----------------------------------------
void nsWebShellWindow::LoadMenus(nsIDOMDocument * aDOMDoc, nsIWidget * aParentWindow)