X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40413a5b7072c33464d55fe7d457e7f5791633a3..ed757936274cb9614bd8fbf25e646e153a0ef8cb:/include/wx/generic/imaglist.h diff --git a/include/wx/generic/imaglist.h b/include/wx/generic/imaglist.h index d13864cbbf..60f0c5d8e3 100644 --- a/include/wx/generic/imaglist.h +++ b/include/wx/generic/imaglist.h @@ -59,7 +59,7 @@ class wxImageList: public wxObject bool Create(); int GetImageCount() const; int Add( const wxBitmap &bitmap ); - wxBitmap *GetBitmap(int index); + const wxBitmap *GetBitmap(int index) const; bool Replace( int index, const wxBitmap &bitmap ); bool Remove( int index ); bool RemoveAll();