This commit is contained in:
saari%netscape.com 1999-04-23 23:06:52 +00:00
Родитель 3bd89ac935
Коммит a8abd75ab9
1 изменённых файлов: 6 добавлений и 6 удалений

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

@ -1132,10 +1132,10 @@ nsWebShellWindow::OnEndDocumentLoad(nsIURL* aURL, PRInt32 aStatus)
nsCOMPtr<nsIDOMDocument> menubarDOMDoc(GetNamedDOMDoc(nsAutoString("this"))); // XXX "this" is a small kludge for code reused
if (menubarDOMDoc)
{
#ifdef XP_PC
DynamicLoadMenus(menubarDOMDoc, mWindow);
#else
#ifdef XP_MAC
LoadMenus(menubarDOMDoc, mWindow);
#else
DynamicLoadMenus(menubarDOMDoc, mWindow);
#endif
}
@ -1357,10 +1357,10 @@ NS_IMETHODIMP nsWebShellWindow::OnConnectionsComplete()
///////////////////////////////
nsCOMPtr<nsIDOMDocument> menubarDOMDoc(GetNamedDOMDoc(nsAutoString("this"))); // XXX "this" is a small kludge for code reused
if (menubarDOMDoc) {
#ifdef XP_PC
DynamicLoadMenus(menubarDOMDoc, mWindow);
#else
#ifdef XP_MAC
LoadMenus(menubarDOMDoc, mWindow);
#else
DynamicLoadMenus(menubarDOMDoc, mWindow);
#endif
}