int Add(const wxBitmap& bitmap, const wxBitmap& mask = wxNullBitmap);
%Rename(AddWithColourMask,int, Add(const wxBitmap& bitmap, const wxColour& maskColour));
%Rename(AddIcon,int, Add(const wxIcon& icon));
-#ifdef __WXMSW__
+
+ wxBitmap GetBitmap(int index) const;
+ wxIcon GetIcon(int index) const;
+
bool Replace(int index, const wxBitmap& bitmap, const wxBitmap& mask = wxNullBitmap);
-#else
-// %Rename(ReplaceIcon,bool, Replace(int index, const wxIcon& icon));
-// int Add(const wxBitmap& bitmap);
- bool Replace(int index, const wxBitmap& bitmap);
-#endif
bool Draw(int index, wxDC& dc, int x, int x, int flags = wxIMAGELIST_DRAW_NORMAL,
const bool solidBackground = false);
DocDeclA(
void, GetSize(int index, int& OUTPUT, int& OUTPUT),
- "GetSize() -> (width,height)");
+ "GetSize(index) -> (width,height)");
};