some interface changes for imageproducer

This commit is contained in:
Mathias Bauer
2001-05-03 16:04:14 +00:00
parent a5c9f4d8c5
commit 44f1357642
4 changed files with 30 additions and 21 deletions

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: bmkmenu.cxx,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: cd $ $Date: 2001-05-03 08:04:20 $
* last change: $Author: mba $ $Date: 2001-05-03 17:04:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -277,11 +277,11 @@ void BmkMenu::Initialize()
{
USHORT nId = CreateMenuId();
Image* pImage = GetImageFromURL( m_xFrame, aURL );
if ( pImage )
InsertItem( nId, aTitle, *pImage );
else
Image aImage = GetImageFromURL( m_xFrame, aURL, FALSE );
if ( !aImage )
InsertItem( nId, aTitle );
else
InsertItem( nId, aTitle, aImage );
BmkMenu::Attributes* pUserAttributes = new BmkMenu::Attributes;
pUserAttributes->aTargetFrame = aTargetFrame;