X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9df61a29d2ff6ec6037c04a4da6d5418c1a5fbc9..ebf4302cbe16578f60e51dca83e3defaebb6db28:/wxPython/src/gtk/image.py diff --git a/wxPython/src/gtk/image.py b/wxPython/src/gtk/image.py index 637c3e31ce..94a14b2e44 100644 --- a/wxPython/src/gtk/image.py +++ b/wxPython/src/gtk/image.py @@ -251,6 +251,25 @@ class wxImagePtr(wxObjectPtr): def Replace(self, *_args, **_kwargs): val = apply(imagec.wxImage_Replace,(self,) + _args, _kwargs) return val + def ConvertToMono(self, *_args, **_kwargs): + val = apply(imagec.wxImage_ConvertToMono,(self,) + _args, _kwargs) + if val: val = wxImagePtr(val) ; val.thisown = 1 + return val + def SetOption(self, *_args, **_kwargs): + val = apply(imagec.wxImage_SetOption,(self,) + _args, _kwargs) + return val + def SetOptionInt(self, *_args, **_kwargs): + val = apply(imagec.wxImage_SetOptionInt,(self,) + _args, _kwargs) + return val + def GetOption(self, *_args, **_kwargs): + val = apply(imagec.wxImage_GetOption,(self,) + _args, _kwargs) + return val + def GetOptionInt(self, *_args, **_kwargs): + val = apply(imagec.wxImage_GetOptionInt,(self,) + _args, _kwargs) + return val + def HasOption(self, *_args, **_kwargs): + val = apply(imagec.wxImage_HasOption,(self,) + _args, _kwargs) + return val def CountColours(self, *_args, **_kwargs): val = apply(imagec.wxImage_CountColours,(self,) + _args, _kwargs) return val