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

This commit is contained in:
rpotts%netscape.com 1999-07-01 22:03:29 +00:00
Родитель 4db91e5644
Коммит 179dcfae30
2 изменённых файлов: 3 добавлений и 2 удалений

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

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

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

@ -81,7 +81,7 @@ public:
PRInt32 aXPos, PRInt32 aYPos,
const nsString& aPopupType, const nsString& anAnchorAlignment,
const nsString& aPopupAlignment,
nsIDOMWindow* aWindow);
nsIDOMWindow* aWindow, nsIDOMWindow** outPopup);
// nsIStreamObserver
NS_IMETHOD OnStartRequest(nsIURI* aURL, const char *aContentType);