Cast needed for DU4.0 (Bugzilla:312)

git-svn-id: svn://10.0.0.236/trunk@11328 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mcafee%netscape.com 1998-09-29 06:33:42 +00:00
parent c0ed029036
commit 3bd5da255c
3 changed files with 5 additions and 5 deletions

View File

@ -216,7 +216,7 @@ void XFE_BrowserDrop::loadURL(const char *url,int newFrame)
fe_UserActivity(_browserFrame->getContext());
}
else {
XFE_BrowserFrame *newFrame=new XFE_BrowserFrame(XtParent(_browserFrame->getBaseWidget()), _browserFrame, NULL);
XFE_BrowserFrame *newFrame=new XFE_BrowserFrame(XtParent(_browserFrame->getBaseWidget()), _browserFrame, (Chrome *)NULL);
newFrame->show();
newFrame->getURL(urlStruct);
fe_UserActivity(newFrame->getContext());

View File

@ -277,7 +277,7 @@ XFE_DownloadFrame::XFE_DownloadFrame(Widget toplevel, XFE_Frame *parent_frame)
XFE_DownloadView *v = new XFE_DownloadView(this,
getChromeParent(),
NULL,
(XFE_View *) NULL,
m_context);
ac = 0;

View File

@ -935,7 +935,7 @@ XFE_Frame::XFE_Frame(char *name,
if (haveMenuBar)
{
m_menubar = new XFE_MenuBar(this, NULL);
m_menubar = new XFE_MenuBar(this, (MenuSpec *)NULL);
if (!chromespec || (chromespec && chromespec->show_menu))
m_menubar->show();
@ -1969,7 +1969,7 @@ XFE_Frame::setToolbar(ToolbarSpec *toolbar_spec)
}
// Create the toolbar
m_toolbar = new XFE_Toolbar(this,m_toolbox,NULL);
m_toolbar = new XFE_Toolbar(this, m_toolbox, (ToolbarSpec *)NULL);
m_toolbar->setToolbarSpec(toolbar_spec);
m_toolbar->registerInterest(Command::doCommandCallback,
@ -3831,7 +3831,7 @@ char *XFE_Frame::getDocString(CommandType cmd)
// For now impliment info = NULL, because only composer
// plugins are using this, but, really need info..
if (handler != NULL)
doc_string = handler->getDocString(this, NULL);
doc_string = handler->getDocString(this, (XFE_CommandInfo*)NULL);
if (doc_string == NULL)
{