Added GetBitmap, GetIcon to wxImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -499,7 +499,7 @@ bool wxNotebook::SetPageImage( size_t page, int image )
|
||||
wxASSERT( m_imageList != NULL ); /* Just in case */
|
||||
|
||||
/* Construct the new pixmap */
|
||||
const wxBitmap *bmp = m_imageList->GetBitmap(image);
|
||||
const wxBitmap *bmp = m_imageList->GetBitmapPtr(image);
|
||||
GdkPixmap *pixmap = bmp->GetPixmap();
|
||||
GdkBitmap *mask = (GdkBitmap*) NULL;
|
||||
if ( bmp->GetMask() )
|
||||
@@ -673,7 +673,7 @@ bool wxNotebook::InsertPage( size_t position,
|
||||
{
|
||||
wxASSERT( m_imageList != NULL );
|
||||
|
||||
const wxBitmap *bmp = m_imageList->GetBitmap(imageId);
|
||||
const wxBitmap *bmp = m_imageList->GetBitmapPtr(imageId);
|
||||
GdkPixmap *pixmap = bmp->GetPixmap();
|
||||
GdkBitmap *mask = (GdkBitmap*) NULL;
|
||||
if ( bmp->GetMask() )
|
||||
|
Reference in New Issue
Block a user