return val
def GetColour(self, *_args, **_kwargs):
val = apply(gdic.wxPen_GetColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetJoin(self, *_args, **_kwargs):
val = apply(gdic.wxPen_GetJoin,(self,) + _args, _kwargs)
gdic.delete_wxBrush(self)
def GetColour(self, *_args, **_kwargs):
val = apply(gdic.wxBrush_GetColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetStipple(self, *_args, **_kwargs):
val = apply(gdic.wxBrush_GetStipple,(self,) + _args, _kwargs)
return val
def GetTextBackground(self, *_args, **_kwargs):
val = apply(gdic.wxDC_GetTextBackground,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetTextExtent(self, *_args, **_kwargs):
val = apply(gdic.wxDC_GetTextExtent,(self,) + _args, _kwargs)
return val
def GetTextForeground(self, *_args, **_kwargs):
val = apply(gdic.wxDC_GetTextForeground,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetUserScale(self, *_args, **_kwargs):
val = apply(gdic.wxDC_GetUserScale,(self,) + _args, _kwargs)
if val: val = wxBitmapPtr(val); val.thisown = 1
return val
-def wxBitmapFromData(*_args, **_kwargs):
- val = apply(gdic.wxBitmapFromData,_args,_kwargs)
+def wxBitmapFromBits(*_args, **_kwargs):
+ val = apply(gdic.wxBitmapFromBits,_args,_kwargs)
if val: val = wxBitmapPtr(val); val.thisown = 1
return val