diff --git a/include/wx/withimages.h b/include/wx/withimages.h index 697c842f43..9626cb1dca 100644 --- a/include/wx/withimages.h +++ b/include/wx/withimages.h @@ -192,6 +192,10 @@ protected: return bundle; } + // Accessor to the images for the derived classes: this is only useful when + // delegating SetImages() to another object. + const Images& GetImages() const { return m_images; } + private: // Free the image list if necessary, i.e. if we own it. void FreeIfNeeded()