mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 11:01:40 +00:00
tweak to mac menu logic
This commit is contained in:
parent
642c6f7d87
commit
3a154cf421
@ -159,8 +159,9 @@ NS_METHOD nsMenuBar::AddMenu(nsIMenu * aMenu)
|
||||
MenuHandle menuHandle = nsnull;
|
||||
aMenu->GetNativeData(menuHandle);
|
||||
|
||||
::InsertMenu(menuHandle, mNumMenus);
|
||||
mNumMenus++;
|
||||
::InsertMenu(menuHandle, 0);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user