- Fixing code after addition of ShowMenuBar() method

-  This is still not implemented, it will just compile now.
This commit is contained in:
Jerry.Kirk%Nexwarecorp.com 1999-06-04 15:09:50 +00:00
Родитель d459a0bb4b
Коммит 710b064d73
3 изменённых файлов: 9 добавлений и 0 удалений

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

@ -752,6 +752,12 @@ NS_METHOD nsWidget::SetMenuBar(nsIMenuBar * aMenuBar)
return NS_OK;
}
NS_METHOD nsWidget::ShowMenuBar( PRBool aShow)
{
PR_LOG(PhWidLog, PR_LOG_DEBUG, ("nsWidget::ShowMenuBar aShow=<%d> - Not Implemented.\n",aShow));
return NS_ERROR_FAILURE;
}
nsresult nsWidget::CreateWidget(nsIWidget *aParent,
const nsRect &aRect,

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

@ -100,6 +100,8 @@ 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 Invalidate(PRBool aIsSynchronous);
NS_IMETHOD Invalidate(const nsRect &aRect, PRBool aIsSynchronous);
NS_IMETHOD Update(void);

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

@ -825,6 +825,7 @@ NS_METHOD nsWindow::SetMenuBar( nsIMenuBar * aMenuBar )
NS_METHOD nsWindow::ShowMenuBar( PRBool aShow)
{
PR_LOG(PhWidLog, PR_LOG_DEBUG, ("nsWindow::ShowMenuBar aShow=<%d> - Not Implemented \n", aShow));
return NS_ERROR_FAILURE;
}