def SetDashes(self, *_args, **_kwargs):
val = apply(gdic.wxPen_SetDashes,(self,) + _args, _kwargs)
return val
+ def GetDashes(self, *_args, **_kwargs):
+ val = apply(gdic.wxPen_GetDashes,(self,) + _args, _kwargs)
+ return val
def GetStipple(self, *_args, **_kwargs):
val = apply(gdic.wxPen_GetStipple,(self,) + _args, _kwargs)
if val: val = wxBitmapPtr(val)
def DrawRectangle(self, *_args, **_kwargs):
val = apply(gdic.wxDC_DrawRectangle,(self,) + _args, _kwargs)
return val
+ def DrawRectangleRect(self, *_args, **_kwargs):
+ val = apply(gdic.wxDC_DrawRectangleRect,(self,) + _args, _kwargs)
+ return val
def DrawRotatedText(self, *_args, **_kwargs):
val = apply(gdic.wxDC_DrawRotatedText,(self,) + _args, _kwargs)
return val
def SetClippingRegionAsRegion(self, *_args, **_kwargs):
val = apply(gdic.wxDC_SetClippingRegionAsRegion,(self,) + _args, _kwargs)
return val
+ def SetClippingRect(self, *_args, **_kwargs):
+ val = apply(gdic.wxDC_SetClippingRect,(self,) + _args, _kwargs)
+ return val
def SetPalette(self, *_args, **_kwargs):
val = apply(gdic.wxDC_SetPalette,(self,) + _args, _kwargs)
return val
def __init__(self,*_args,**_kwargs):
self.this = apply(gdic.new_wxBufferedDC,_args,_kwargs)
self.thisown = 1
- self._dc = _args[0] # save a ref so it won't be deleted before self
+ self._dc = _args[0] # save a ref so the other dc won't be deleted before self
def wxBufferedDCInternalBuffer(*_args,**_kwargs):
val = wxBufferedDCPtr(apply(gdic.new_wxBufferedDCInternalBuffer,_args,_kwargs))
val.thisown = 1
- val._dc = _args[0] # save a ref so it won't be deleted before self
+ val._dc = _args[0] # save a ref so the other dc won't be deleted before self
return val