SWIGged updates for wxMac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-03-21 20:35:45 +00:00
parent 08e70846d5
commit c3bfa1cb28
30 changed files with 4380 additions and 872 deletions

View File

@@ -91,35 +91,22 @@ class wxHtmlContentsItemPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __setattr__(self,name,value):
if name == "m_Level" :
htmlhelpc.wxHtmlContentsItem_m_Level_set(self,value)
return
if name == "m_ID" :
htmlhelpc.wxHtmlContentsItem_m_ID_set(self,value)
return
if name == "m_Name" :
htmlhelpc.wxHtmlContentsItem_m_Name_set(self,value)
return
if name == "m_Page" :
htmlhelpc.wxHtmlContentsItem_m_Page_set(self,value)
return
if name == "m_Book" :
htmlhelpc.wxHtmlContentsItem_m_Book_set(self,value.this)
return
self.__dict__[name] = value
def __getattr__(self,name):
if name == "m_Level" :
return htmlhelpc.wxHtmlContentsItem_m_Level_get(self)
if name == "m_ID" :
return htmlhelpc.wxHtmlContentsItem_m_ID_get(self)
if name == "m_Name" :
return htmlhelpc.wxHtmlContentsItem_m_Name_get(self)
if name == "m_Page" :
return htmlhelpc.wxHtmlContentsItem_m_Page_get(self)
if name == "m_Book" :
return wxHtmlBookRecordPtr(htmlhelpc.wxHtmlContentsItem_m_Book_get(self))
raise AttributeError,name
def GetLevel(self, *_args, **_kwargs):
val = apply(htmlhelpc.wxHtmlContentsItem_GetLevel,(self,) + _args, _kwargs)
return val
def GetID(self, *_args, **_kwargs):
val = apply(htmlhelpc.wxHtmlContentsItem_GetID,(self,) + _args, _kwargs)
return val
def GetName(self, *_args, **_kwargs):
val = apply(htmlhelpc.wxHtmlContentsItem_GetName,(self,) + _args, _kwargs)
return val
def GetPage(self, *_args, **_kwargs):
val = apply(htmlhelpc.wxHtmlContentsItem_GetPage,(self,) + _args, _kwargs)
return val
def GetBook(self, *_args, **_kwargs):
val = apply(htmlhelpc.wxHtmlContentsItem_GetBook,(self,) + _args, _kwargs)
if val: val = wxHtmlBookRecordPtr(val)
return val
def __repr__(self):
return "<C wxHtmlContentsItem instance at %s>" % (self.this,)
class wxHtmlContentsItem(wxHtmlContentsItemPtr):