DP: GetBitmap() added to wxImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -48,6 +48,11 @@ int wxImageList::Add( const wxBitmap &bitmap )
|
||||
return m_images.Number();
|
||||
};
|
||||
|
||||
wxBitmap *wxImageList::GetBitmap(int index) {
|
||||
wxNode *node = m_images.Nth( index );
|
||||
return (wxBitmap*)node->Data();
|
||||
}
|
||||
|
||||
bool wxImageList::Replace( int index, const wxBitmap &bitmap )
|
||||
{
|
||||
wxNode *node = m_images.Nth( index );
|
||||
|
Reference in New Issue
Block a user