SWIGged code update for wxMac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-12-11 17:04:08 +00:00
parent d1cd84e787
commit 00360d4699
24 changed files with 563 additions and 540 deletions

View File

@@ -160,15 +160,15 @@ class wxListItemAttrPtr :
return val
def GetTextColour(self, *_args, **_kwargs):
val = apply(controls2c.wxListItemAttr_GetTextColour,(self,) + _args, _kwargs)
if val: val = wxColourPtr(val)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetBackgroundColour(self, *_args, **_kwargs):
val = apply(controls2c.wxListItemAttr_GetBackgroundColour,(self,) + _args, _kwargs)
if val: val = wxColourPtr(val)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetFont(self, *_args, **_kwargs):
val = apply(controls2c.wxListItemAttr_GetFont,(self,) + _args, _kwargs)
if val: val = wxFontPtr(val)
if val: val = wxFontPtr(val) ; val.thisown = 1
return val
def __repr__(self):
return "<C wxListItemAttr instance at %s>" % (self.this,)
@@ -736,15 +736,15 @@ class wxTreeItemAttrPtr :
return val
def GetTextColour(self, *_args, **_kwargs):
val = apply(controls2c.wxTreeItemAttr_GetTextColour,(self,) + _args, _kwargs)
if val: val = wxColourPtr(val)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetBackgroundColour(self, *_args, **_kwargs):
val = apply(controls2c.wxTreeItemAttr_GetBackgroundColour,(self,) + _args, _kwargs)
if val: val = wxColourPtr(val)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetFont(self, *_args, **_kwargs):
val = apply(controls2c.wxTreeItemAttr_GetFont,(self,) + _args, _kwargs)
if val: val = wxFontPtr(val)
if val: val = wxFontPtr(val) ; val.thisown = 1
return val
def __repr__(self):
return "<C wxTreeItemAttr instance at %s>" % (self.this,)
@@ -771,6 +771,7 @@ class wxTreeItemIdPtr :
return val
def __repr__(self):
return "<C wxTreeItemId instance at %s>" % (self.this,)
Ok = IsOk
class wxTreeItemId(wxTreeItemIdPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(controls2c.new_wxTreeItemId,_args,_kwargs)
@@ -1061,6 +1062,9 @@ class wxTreeCtrlPtr(wxControlPtr):
def SetItemFont(self, *_args, **_kwargs):
val = apply(controls2c.wxTreeCtrl_SetItemFont,(self,) + _args, _kwargs)
return val
def GetBoundingRect(self, *_args, **_kwargs):
val = apply(controls2c.wxTreeCtrl_GetBoundingRect,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxTreeCtrl instance at %s>" % (self.this,)