some interface changes for imageproducer
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user