This commit is contained in:
blizzard%redhat.com 1999-04-24 12:20:28 +00:00
Родитель 9b5bf70dcc
Коммит b775d91c9e
2 изменённых файлов: 15 добавлений и 7 удалений

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

@ -1,4 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
@ -70,16 +70,19 @@ nsIWidget * nsMenuItem::GetMenuBarParent(nsISupports * aParent)
return nsnull;
}
NS_METHOD nsMenuItem::Create(nsIMenu * aParent, const nsString &aLabel, PRUint32 aCommand)
NS_METHOD nsMenuItem::Create(nsIMenu *aParent,
const nsString &aLabel,
PRBool isSeparator)
{
return NS_OK;
}
NS_METHOD nsMenuItem::Create(nsIPopUpMenu * aParent, const nsString &aLabel, PRUint32 aCommand)
NS_METHOD nsMenuItem::Create(nsIPopUpMenu *aParent,
const nsString &aLabel,
PRUint32 aCommand)
{
return NS_OK;
}
NS_METHOD nsMenuItem::Create(nsIMenu * aParent)
{
return NS_OK;

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

@ -42,8 +42,13 @@ public:
// nsISupports
NS_DECL_ISUPPORTS
NS_IMETHOD Create(nsIMenu * aParent, const nsString &aLabel, PRUint32 aCommand);
NS_IMETHOD Create(nsIPopUpMenu * aParent, const nsString &aLabel, PRUint32 aCommand);
NS_IMETHOD Create(nsIMenu *aParent,
const nsString &aLabel,
PRBool isSeparator);
NS_IMETHOD Create(nsIPopUpMenu *aParent,
const nsString &aLabel,
PRUint32 aCommand);
NS_IMETHOD Create(nsIMenu * aParent);
NS_IMETHOD Create(nsIPopUpMenu * aParent);