make xlib build again

This commit is contained in:
blizzard%redhat.com 1999-04-24 12:20:28 +00:00
parent 732f173e3d
commit ffb374f0fd
2 changed files with 15 additions and 7 deletions

View File

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

View File

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