Updates to match recent CVS changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -193,10 +193,6 @@ class wxImagePtr(wxObjectPtr):
|
||||
def __del__(self,imagec=imagec):
|
||||
if self.thisown == 1 :
|
||||
imagec.delete_wxImage(self)
|
||||
def ConvertToBitmap(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_ConvertToBitmap,(self,) + _args, _kwargs)
|
||||
if val: val = wxBitmapPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def Create(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_Create,(self,) + _args, _kwargs)
|
||||
return val
|
||||
@@ -322,6 +318,14 @@ class wxImagePtr(wxObjectPtr):
|
||||
def CountColours(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_CountColours,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def ConvertToBitmap(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_ConvertToBitmap,(self,) + _args, _kwargs)
|
||||
if val: val = wxBitmapPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def ConvertToMonoBitmap(self, *_args, **_kwargs):
|
||||
val = apply(imagec.wxImage_ConvertToMonoBitmap,(self,) + _args, _kwargs)
|
||||
if val: val = wxBitmapPtr(val) ; val.thisown = 1
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxImage instance at %s>" % (self.this,)
|
||||
class wxImage(wxImagePtr):
|
||||
|
Reference in New Issue
Block a user