]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/gtk/image.py
new wxMenu stuff and thread implementations
[wxWidgets.git] / utils / wxPython / src / gtk / image.py
index e76564c391b0761b350323e1efafc60ee5acb1ae..1f0924638da1ff4b95aeed49933211248f43ff95 100644 (file)
@@ -182,6 +182,10 @@ class wxImagePtr :
     def GetHeight(self, *_args, **_kwargs):
         val = apply(imagec.wxImage_GetHeight,(self,) + _args, _kwargs)
         return val
+    def GetSubImage(self, *_args, **_kwargs):
+        val = apply(imagec.wxImage_GetSubImage,(self,) + _args, _kwargs)
+        if val: val = wxImagePtr(val) ; val.thisown = 1
+        return val
     def GetData(self, *_args, **_kwargs):
         val = apply(imagec.wxImage_GetData,(self,) + _args, _kwargs)
         return val