Fixed bustage due to the change in arguments to CreatePopup(...)

git-svn-id: svn://10.0.0.236/trunk@37886 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rpotts%netscape.com
1999-07-01 22:03:29 +00:00
parent 880e9ed48f
commit 2ae55e5761
2 changed files with 3 additions and 2 deletions

View File

@@ -431,10 +431,11 @@ CWebShellContainer::CreatePopup(nsIDOMElement* aElement, nsIDOMElement* aPopupCo
PRInt32 aXPos, PRInt32 aYPos,
const nsString& aPopupType, const nsString& anAnchorAlignment,
const nsString& aPopupAlignment,
nsIDOMWindow* aWindow)
nsIDOMWindow* aWindow, nsIDOMWindow** outPopup)
{
NG_TRACE_METHOD(CWebShellContainer::CreatePopup);
HMENU hMenu = ::CreatePopupMenu();
*outPopup = NULL;
InsertMenu(hMenu, 0, MF_BYPOSITION, 1, _T("TODO"));
TrackPopupMenu(hMenu, TPM_LEFTALIGN, aXPos, aYPos, NULL, NULL, NULL);
return NS_OK;