Added GetBitmap, GetIcon to wxImageList

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-02-27 10:36:58 +00:00
parent 9075301655
commit 49bf4e3e68
12 changed files with 103 additions and 13 deletions

View File

@@ -68,7 +68,8 @@ public:
int Add( const wxBitmap& bitmap );
int Add( const wxBitmap& bitmap, const wxBitmap& mask );
int Add( const wxBitmap& bitmap, const wxColour& maskColour );
const wxBitmap *GetBitmap(int index) const;
wxBitmap GetBitmap(int index) const;
wxIcon GetIcon(int index) const;
bool Replace( int index, const wxBitmap &bitmap );
bool Remove( int index );
bool RemoveAll();
@@ -77,6 +78,8 @@ public:
int flags = wxIMAGELIST_DRAW_NORMAL,
bool solidBackground = false);
// Internal use only
const wxBitmap *GetBitmapPtr(int index) const;
private:
wxList m_images;