X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1e955e14c1ce17f97fb559923ded1b1d0cdd6b8..ec45f8ee19190fce57180381611075d3a5b63435:/src/generic/imaglist.cpp diff --git a/src/generic/imaglist.cpp b/src/generic/imaglist.cpp index 543d019cdf..20a5101650 100644 --- a/src/generic/imaglist.cpp +++ b/src/generic/imaglist.cpp @@ -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();