from utils import *
import wx
-class wxHtmlLinkInfoPtr :
+class wxHtmlLinkInfoPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
return val
def GetEvent(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlLinkInfo_GetEvent,(self,) + _args, _kwargs)
- if val: val = wxMouseEventPtr(val)
return val
def GetHtmlCell(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlLinkInfo_GetHtmlCell,(self,) + _args, _kwargs)
-class wxHtmlTagPtr :
+class wxHtmlTagPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
-class wxHtmlParserPtr :
+class wxHtmlParserPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
return val
def GetFS(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlParser_GetFS,(self,) + _args, _kwargs)
- if val: val = wxFileSystemPtr(val)
return val
def Parse(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlParser_Parse,(self,) + _args, _kwargs)
return val
def GetDC(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWinParser_GetDC,(self,) + _args, _kwargs)
- if val: val = wxDCPtr(val)
return val
def GetCharHeight(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWinParser_GetCharHeight,(self,) + _args, _kwargs)
return val
def GetWindow(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWinParser_GetWindow,(self,) + _args, _kwargs)
- if val: val = wxWindowPtr(val)
return val
def SetFonts(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWinParser_SetFonts,(self,) + _args, _kwargs)
-class wxHtmlTagHandlerPtr :
+class wxHtmlTagHandlerPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
-class wxHtmlCellPtr :
+class wxHtmlCellPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
+class wxHtmlWordCellPtr(wxHtmlCellPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __repr__(self):
+ return "<C wxHtmlWordCell instance at %s>" % (self.this,)
+class wxHtmlWordCell(wxHtmlWordCellPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(htmlc.new_wxHtmlWordCell,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
class wxHtmlContainerCellPtr(wxHtmlCellPtr):
def __init__(self,this):
self.this = this
+class wxHtmlFontCellPtr(wxHtmlCellPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __repr__(self):
+ return "<C wxHtmlFontCell instance at %s>" % (self.this,)
+class wxHtmlFontCell(wxHtmlFontCellPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(htmlc.new_wxHtmlFontCell,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
class wxHtmlWidgetCellPtr(wxHtmlCellPtr):
def __init__(self,this):
self.this = this
return val
def GetRelatedFrame(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_GetRelatedFrame,(self,) + _args, _kwargs)
- if val: val = wxFramePtr(val)
return val
def SetRelatedStatusBar(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetRelatedStatusBar,(self,) + _args, _kwargs)
-class wxHtmlDCRendererPtr :
+class wxHtmlDCRendererPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
-class wxHtmlEasyPrintingPtr :
+class wxHtmlEasyPrintingPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
wx.wxHtmlWidgetCellPtr = wxHtmlWidgetCellPtr
wx.wxHtmlWindowPtr = wxHtmlWindowPtr
wx.wxHtmlLinkInfoPtr = wxHtmlLinkInfoPtr
-