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