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