X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a72f4631fe5ab7ebeefdacf8ec9c826ea962133f..6a52ea5cb81dcd07c286d34b80945534780fe05f:/wxPython/src/_imaglist.i diff --git a/wxPython/src/_imaglist.i b/wxPython/src/_imaglist.i index b5df300010..b0c0974868 100644 --- a/wxPython/src/_imaglist.i +++ b/wxPython/src/_imaglist.i @@ -47,12 +47,16 @@ public: ~wxImageList(); int Add(const wxBitmap& bitmap, const wxBitmap& mask = wxNullBitmap); - %name(AddWithColourMask)int Add(const wxBitmap& bitmap, const wxColour& maskColour); - %name(AddIcon)int Add(const wxIcon& icon); + %Rename(AddWithColourMask,int, Add(const wxBitmap& bitmap, const wxColour& maskColour)); + %Rename(AddIcon,int, Add(const wxIcon& icon)); + + wxBitmap GetBitmap(int index) const; + wxIcon GetIcon(int index) const; + #ifdef __WXMSW__ bool Replace(int index, const wxBitmap& bitmap, const wxBitmap& mask = wxNullBitmap); #else -// %name(ReplaceIcon)bool Replace(int index, const wxIcon& icon); +// %Rename(ReplaceIcon,bool, Replace(int index, const wxIcon& icon)); // int Add(const wxBitmap& bitmap); bool Replace(int index, const wxBitmap& bitmap); #endif