X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40413a5b7072c33464d55fe7d457e7f5791633a3..861ccde48164e232a7486e6084db4727faf50e0a:/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();