def wxPreStatusBar(*_args,**_kwargs):
val = wxStatusBarPtr(apply(stattoolc.new_wxPreStatusBar,_args,_kwargs))
val.thisown = 1
- val._setOORInfo(self)
+ val._setOORInfo(val)
return val
return val
def GetBitmap1(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBarToolBase_GetBitmap1,(self,) + _args, _kwargs)
- if val: val = wxBitmapPtr(val)
+ if val: val = wxBitmapPtr(val) ; val.thisown = 1
return val
def GetBitmap2(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBarToolBase_GetBitmap2,(self,) + _args, _kwargs)
- if val: val = wxBitmapPtr(val)
+ if val: val = wxBitmapPtr(val) ; val.thisown = 1
return val
def GetBitmap(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBarToolBase_GetBitmap,(self,) + _args, _kwargs)
- if val: val = wxBitmapPtr(val)
+ if val: val = wxBitmapPtr(val) ; val.thisown = 1
return val
def GetShortHelp(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBarToolBase_GetShortHelp,(self,) + _args, _kwargs)
def wxPreToolBar(*_args,**_kwargs):
val = wxToolBarPtr(apply(stattoolc.new_wxPreToolBar,_args,_kwargs))
val.thisown = 1
- val._setOORInfo(self)
+ val._setOORInfo(val)
return val
def wxPreToolBarSimple(*_args,**_kwargs):
val = wxToolBarSimplePtr(apply(stattoolc.new_wxPreToolBarSimple,_args,_kwargs))
val.thisown = 1
- val._setOORInfo(self)
+ val._setOORInfo(val)
return val