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