Cast needed for DU4.0 (Bugzilla:312)

This commit is contained in:
mcafee%netscape.com 1998-09-29 06:33:42 +00:00
Родитель ce81d1c53f
Коммит d30ca7570b
3 изменённых файлов: 5 добавлений и 5 удалений

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

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

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

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

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

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