X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af309447ff8413abd2fa5e9cc780fcef1c891f87..cf694132f1c28509a9f84377ce8d374bae4177ad:/utils/wxPython/src/msw/gdi.py diff --git a/utils/wxPython/src/msw/gdi.py b/utils/wxPython/src/msw/gdi.py index 841322538c..ca04475c3e 100644 --- a/utils/wxPython/src/msw/gdi.py +++ b/utils/wxPython/src/msw/gdi.py @@ -735,6 +735,16 @@ class wxImageListPtr : def AddIcon(self,arg0): val = gdic.wxImageList_AddIcon(self.this,arg0.this) return val + def Replace(self,arg0,arg1,*args): + argl = map(None,args) + try: argl[0] = argl[0].this + except: pass + args = tuple(argl) + val = apply(gdic.wxImageList_Replace,(self.this,arg0,arg1.this,)+args) + return val + def ReplaceIcon(self,arg0,arg1): + val = gdic.wxImageList_ReplaceIcon(self.this,arg0,arg1.this) + return val def Draw(self,arg0,arg1,arg2,arg3,*args): val = apply(gdic.wxImageList_Draw,(self.this,arg0,arg1.this,arg2,arg3,)+args) return val @@ -747,16 +757,6 @@ class wxImageListPtr : def RemoveAll(self): val = gdic.wxImageList_RemoveAll(self.this) return val - def Replace(self,arg0,arg1,*args): - argl = map(None,args) - try: argl[0] = argl[0].this - except: pass - args = tuple(argl) - val = apply(gdic.wxImageList_Replace,(self.this,arg0,arg1.this,)+args) - return val - def ReplaceIcon(self,arg0,arg1): - val = gdic.wxImageList_ReplaceIcon(self.this,arg0,arg1.this) - return val def __repr__(self): return "" class wxImageList(wxImageListPtr):