tweak to mac menu logic

This commit is contained in:
saari%netscape.com 1999-02-22 19:10:05 +00:00
parent 642c6f7d87
commit 3a154cf421

View File

@ -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;
}