return val
def GetFont(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_GetFont,(self,) + _args, _kwargs)
- if val: val = wxFontPtr(val)
+ if val: val = wxFontPtr(val) ; val.thisown = 1
return val
def GetForegroundColour(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_GetForegroundColour,(self,) + _args, _kwargs)
val = apply(windowsc.wxWindow_GetAcceleratorTable,(self,) + _args, _kwargs)
if val: val = wxAcceleratorTablePtr(val)
return val
+ def GetDefaultItem(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetDefaultItem,(self,) + _args, _kwargs)
+ return val
+ def SetDefaultItem(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_SetDefaultItem,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxWindow instance at %s>" % (self.this,)
# replaces broken shadow method
def InitDialog(self, *_args, **_kwargs):
val = apply(windowsc.wxPanel_InitDialog,(self,) + _args, _kwargs)
return val
- def GetDefaultItem(self, *_args, **_kwargs):
- val = apply(windowsc.wxPanel_GetDefaultItem,(self,) + _args, _kwargs)
- return val
- def SetDefaultItem(self, *_args, **_kwargs):
- val = apply(windowsc.wxPanel_SetDefaultItem,(self,) + _args, _kwargs)
- return val
def __repr__(self):
return "<C wxPanel instance at %s>" % (self.this,)
class wxPanel(wxPanelPtr):
def wxPrePanel(*_args,**_kwargs):
val = wxPanelPtr(apply(windowsc.new_wxPrePanel,_args,_kwargs))
val.thisown = 1
+ val._setOORInfo(val)
return val