Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsMenuBoxObject.cpp File Reference
#include "nsISupportsUtils.h"
#include "nsIMenuBoxObject.h"
#include "nsBoxObject.h"
#include "nsIPresShell.h"
#include "nsIMenuFrame.h"
#include "nsIFrame.h"
#include "nsGUIEvent.h"
#include "nsIDOMNSUIEvent.h"
#include "nsMenuBarListener.h"
#include "nsPopupSetFrame.h"

Go to the source code of this file.

Classes

class  nsMenuBoxObject

Functions

nsresult NS_NewMenuBoxObject (nsIBoxObject **aResult)

Function Documentation

Definition at line 180 of file nsMenuBoxObject.cpp.

{
  *aResult = new nsMenuBoxObject;
  if (!*aResult)
    return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(*aResult);
  return NS_OK;
}

Here is the call graph for this function: