- adding IsMenuBarVisible to get code to compile because nsWidget is our

base class not nsWindow
This commit is contained in:
Jerry.Kirk%Nexwarecorp.com 1999-06-09 20:55:48 +00:00
parent f5a84f304d
commit ea7f958c5c
2 changed files with 6 additions and 0 deletions

View File

@ -758,6 +758,11 @@ NS_METHOD nsWidget::ShowMenuBar( PRBool aShow)
return NS_ERROR_FAILURE;
}
NS_METHOD nsWidget::IsMenuBarVisible( PRBool *aVisible )
{
PR_LOG(PhWidLog, PR_LOG_DEBUG, ("nsWidget::IsMenuBarVisible - Not Implemented \n"));
return NS_ERROR_FAILURE;
}
nsresult nsWidget::CreateWidget(nsIWidget *aParent,
const nsRect &aRect,

View File

@ -101,6 +101,7 @@ class nsWidget : public nsBaseWidget
NS_IMETHOD Scroll(PRInt32 aDx, PRInt32 aDy, nsRect *aClipRect);
NS_IMETHOD SetMenuBar(nsIMenuBar *aMenuBar);
NS_IMETHOD ShowMenuBar(PRBool aShow);
NS_IMETHOD IsMenuBarVisible(PRBool *aVisible);
NS_IMETHOD Invalidate(PRBool aIsSynchronous);
NS_IMETHOD Invalidate(const nsRect &aRect, PRBool aIsSynchronous);