X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/219f895a273cdf12ded3f79dbbcd1e076fe83901..2aa45cc91981cbf8be5d6c63c3fda99b530cf308:/include/wx/generic/imaglist.h diff --git a/include/wx/generic/imaglist.h b/include/wx/generic/imaglist.h index 2a0893a3ac..60f0c5d8e3 100644 --- a/include/wx/generic/imaglist.h +++ b/include/wx/generic/imaglist.h @@ -40,18 +40,26 @@ #define wxIMAGELIST_DRAW_SELECTED 0x0004 #define wxIMAGELIST_DRAW_FOCUSED 0x0008 +// Flag values for Set/GetImageList +enum { + wxIMAGE_LIST_NORMAL, // Normal icons + wxIMAGE_LIST_SMALL, // Small icons + wxIMAGE_LIST_STATE // State icons: unimplemented (see WIN32 documentation) +}; + class wxImageList: public wxObject { DECLARE_DYNAMIC_CLASS(wxImageList) public: - wxImageList::wxImageList() { } + wxImageList() { } wxImageList( int width, int height, bool mask = TRUE, int initialCount = 1 ); ~wxImageList(); bool Create(); int GetImageCount() const; int Add( const wxBitmap &bitmap ); + const wxBitmap *GetBitmap(int index) const; bool Replace( int index, const wxBitmap &bitmap ); bool Remove( int index ); bool RemoveAll();