Temporary fix for BeOS menus: do not load dynamically. Will try to
fix this for M9. BeOS only checkin authorized by cyeh. git-svn-id: svn://10.0.0.236/trunk@39011 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1797,7 +1797,7 @@ nsWebShellWindow::OnEndDocumentLoad(nsIDocumentLoader* loader,
|
||||
nsCOMPtr<nsIDOMDocument> menubarDOMDoc(GetNamedDOMDoc(nsAutoString("this"))); // XXX "this" is a small kludge for code reused
|
||||
if (menubarDOMDoc)
|
||||
{
|
||||
#ifdef XP_MAC
|
||||
#if defined XP_MAC || defined XP_BEOS
|
||||
LoadMenus(menubarDOMDoc, mWindow);
|
||||
// Context Menu test
|
||||
nsCOMPtr<nsIDOMElement> element;
|
||||
|
||||
Reference in New Issue
Block a user