]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/html.py
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / html.py
index ac71f5126c443b7d0aee754332761282d37c4972..208b4f96a3a0998da4a56d8ea445d9ab30e1ea33 100644 (file)
@@ -80,13 +80,6 @@ HTML_INDENT_ALL = _html.HTML_INDENT_ALL
 HTML_COND_ISANCHOR = _html.HTML_COND_ISANCHOR
 HTML_COND_ISIMAGEMAP = _html.HTML_COND_ISIMAGEMAP
 HTML_COND_USER = _html.HTML_COND_USER
-HTML_FONT_SIZE_1 = _html.HTML_FONT_SIZE_1
-HTML_FONT_SIZE_2 = _html.HTML_FONT_SIZE_2
-HTML_FONT_SIZE_3 = _html.HTML_FONT_SIZE_3
-HTML_FONT_SIZE_4 = _html.HTML_FONT_SIZE_4
-HTML_FONT_SIZE_5 = _html.HTML_FONT_SIZE_5
-HTML_FONT_SIZE_6 = _html.HTML_FONT_SIZE_6
-HTML_FONT_SIZE_7 = _html.HTML_FONT_SIZE_7
 HW_SCROLLBAR_NEVER = _html.HW_SCROLLBAR_NEVER
 HW_SCROLLBAR_AUTO = _html.HW_SCROLLBAR_AUTO
 HW_NO_SELECTION = _html.HW_NO_SELECTION
@@ -128,8 +121,7 @@ class HtmlLinkInfo(_core.Object):
         """SetHtmlCell(self, HtmlCell e)"""
         return _html.HtmlLinkInfo_SetHtmlCell(*args, **kwargs)
 
-HtmlLinkInfo_swigregister = _html.HtmlLinkInfo_swigregister
-HtmlLinkInfo_swigregister(HtmlLinkInfo)
+_html.HtmlLinkInfo_swigregister(HtmlLinkInfo)
 cvar = _html.cvar
 HtmlWindowNameStr = cvar.HtmlWindowNameStr
 HtmlPrintoutTitleStr = cvar.HtmlPrintoutTitleStr
@@ -172,8 +164,7 @@ class HtmlTag(_core.Object):
         """GetEndPos2(self) -> int"""
         return _html.HtmlTag_GetEndPos2(*args, **kwargs)
 
-HtmlTag_swigregister = _html.HtmlTag_swigregister
-HtmlTag_swigregister(HtmlTag)
+_html.HtmlTag_swigregister(HtmlTag)
 
 class HtmlParser(_core.Object):
     """Proxy of C++ HtmlParser class"""
@@ -224,8 +215,11 @@ class HtmlParser(_core.Object):
         """PopTagHandler(self)"""
         return _html.HtmlParser_PopTagHandler(*args, **kwargs)
 
-HtmlParser_swigregister = _html.HtmlParser_swigregister
-HtmlParser_swigregister(HtmlParser)
+    def GetInnerSource(*args, **kwargs):
+        """GetInnerSource(self, HtmlTag tag) -> String"""
+        return _html.HtmlParser_GetInnerSource(*args, **kwargs)
+
+_html.HtmlParser_swigregister(HtmlParser)
 
 class HtmlWinParser(HtmlParser):
     """Proxy of C++ HtmlWinParser class"""
@@ -254,6 +248,11 @@ class HtmlWinParser(HtmlParser):
         """GetWindow(self) -> HtmlWindow"""
         return _html.HtmlWinParser_GetWindow(*args, **kwargs)
 
+    GetWindow = wx._deprecated(GetWindow) 
+    def GetWindowInterface(*args, **kwargs):
+        """GetWindowInterface(self) -> HtmlWindowInterface"""
+        return _html.HtmlWinParser_GetWindowInterface(*args, **kwargs)
+
     def SetFonts(*args, **kwargs):
         """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
         return _html.HtmlWinParser_SetFonts(*args, **kwargs)
@@ -357,8 +356,7 @@ class HtmlWinParser(HtmlParser):
         """GetLink(self) -> HtmlLinkInfo"""
         return _html.HtmlWinParser_GetLink(*args, **kwargs)
 
-HtmlWinParser_swigregister = _html.HtmlWinParser_swigregister
-HtmlWinParser_swigregister(HtmlWinParser)
+_html.HtmlWinParser_swigregister(HtmlWinParser)
 
 class HtmlTagHandler(_core.Object):
     """Proxy of C++ HtmlTagHandler class"""
@@ -385,8 +383,7 @@ class HtmlTagHandler(_core.Object):
         """ParseInner(self, HtmlTag tag)"""
         return _html.HtmlTagHandler_ParseInner(*args, **kwargs)
 
-HtmlTagHandler_swigregister = _html.HtmlTagHandler_swigregister
-HtmlTagHandler_swigregister(HtmlTagHandler)
+_html.HtmlTagHandler_swigregister(HtmlTagHandler)
 
 class HtmlWinTagHandler(HtmlTagHandler):
     """Proxy of C++ HtmlWinTagHandler class"""
@@ -413,8 +410,7 @@ class HtmlWinTagHandler(HtmlTagHandler):
         """ParseInner(self, HtmlTag tag)"""
         return _html.HtmlWinTagHandler_ParseInner(*args, **kwargs)
 
-HtmlWinTagHandler_swigregister = _html.HtmlWinTagHandler_swigregister
-HtmlWinTagHandler_swigregister(HtmlWinTagHandler)
+_html.HtmlWinTagHandler_swigregister(HtmlWinTagHandler)
 
 
 def HtmlWinParser_AddTagHandler(*args, **kwargs):
@@ -479,8 +475,7 @@ class HtmlSelection(object):
         """IsEmpty(self) -> bool"""
         return _html.HtmlSelection_IsEmpty(*args, **kwargs)
 
-HtmlSelection_swigregister = _html.HtmlSelection_swigregister
-HtmlSelection_swigregister(HtmlSelection)
+_html.HtmlSelection_swigregister(HtmlSelection)
 
 HTML_SEL_OUT = _html.HTML_SEL_OUT
 HTML_SEL_IN = _html.HTML_SEL_IN
@@ -518,8 +513,7 @@ class HtmlRenderingState(object):
         """GetBgColour(self) -> Colour"""
         return _html.HtmlRenderingState_GetBgColour(*args, **kwargs)
 
-HtmlRenderingState_swigregister = _html.HtmlRenderingState_swigregister
-HtmlRenderingState_swigregister(HtmlRenderingState)
+_html.HtmlRenderingState_swigregister(HtmlRenderingState)
 
 class HtmlRenderingStyle(object):
     """Proxy of C++ HtmlRenderingStyle class"""
@@ -534,16 +528,14 @@ class HtmlRenderingStyle(object):
         """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
         return _html.HtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs)
 
-HtmlRenderingStyle_swigregister = _html.HtmlRenderingStyle_swigregister
-HtmlRenderingStyle_swigregister(HtmlRenderingStyle)
+_html.HtmlRenderingStyle_swigregister(HtmlRenderingStyle)
 
 class DefaultHtmlRenderingStyle(HtmlRenderingStyle):
     """Proxy of C++ DefaultHtmlRenderingStyle class"""
     thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
     def __init__(self): raise AttributeError, "No constructor defined"
     __repr__ = _swig_repr
-DefaultHtmlRenderingStyle_swigregister = _html.DefaultHtmlRenderingStyle_swigregister
-DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStyle)
+_html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStyle)
 
 class HtmlRenderingInfo(object):
     """Proxy of C++ HtmlRenderingInfo class"""
@@ -574,8 +566,7 @@ class HtmlRenderingInfo(object):
         """GetState(self) -> HtmlRenderingState"""
         return _html.HtmlRenderingInfo_GetState(*args, **kwargs)
 
-HtmlRenderingInfo_swigregister = _html.HtmlRenderingInfo_swigregister
-HtmlRenderingInfo_swigregister(HtmlRenderingInfo)
+_html.HtmlRenderingInfo_swigregister(HtmlRenderingInfo)
 
 #---------------------------------------------------------------------------
 
@@ -639,10 +630,15 @@ class HtmlCell(_core.Object):
         """GetFirstChild(self) -> HtmlCell"""
         return _html.HtmlCell_GetFirstChild(*args, **kwargs)
 
+    def GetMouseCursor(*args, **kwargs):
+        """GetMouseCursor(self, HtmlWindowInterface window) -> Cursor"""
+        return _html.HtmlCell_GetMouseCursor(*args, **kwargs)
+
     def GetCursor(*args, **kwargs):
         """GetCursor(self) -> Cursor"""
         return _html.HtmlCell_GetCursor(*args, **kwargs)
 
+    GetCursor = wx._deprecated(GetCursor) 
     def IsFormattingCell(*args, **kwargs):
         """IsFormattingCell(self) -> bool"""
         return _html.HtmlCell_IsFormattingCell(*args, **kwargs)
@@ -679,9 +675,9 @@ class HtmlCell(_core.Object):
         """Find(self, int condition, void param) -> HtmlCell"""
         return _html.HtmlCell_Find(*args, **kwargs)
 
-    def AdjustPagebreak(*args, **kwargs):
-        """AdjustPagebreak(self, int INOUT) -> bool"""
-        return _html.HtmlCell_AdjustPagebreak(*args, **kwargs)
+    def ProcessMouseClick(*args, **kwargs):
+        """ProcessMouseClick(self, HtmlWindowInterface window, Point pos, MouseEvent event) -> bool"""
+        return _html.HtmlCell_ProcessMouseClick(*args, **kwargs)
 
     def SetCanLiveOnPagebreak(*args, **kwargs):
         """SetCanLiveOnPagebreak(self, bool can)"""
@@ -700,9 +696,13 @@ class HtmlCell(_core.Object):
         return _html.HtmlCell_FindCellByPos(*args, **kwargs)
 
     def GetAbsPos(*args, **kwargs):
-        """GetAbsPos(self) -> Point"""
+        """GetAbsPos(self, HtmlCell rootCell=None) -> Point"""
         return _html.HtmlCell_GetAbsPos(*args, **kwargs)
 
+    def GetRootCell(*args, **kwargs):
+        """GetRootCell(self) -> HtmlCell"""
+        return _html.HtmlCell_GetRootCell(*args, **kwargs)
+
     def GetFirstTerminal(*args, **kwargs):
         """GetFirstTerminal(self) -> HtmlCell"""
         return _html.HtmlCell_GetFirstTerminal(*args, **kwargs)
@@ -723,8 +723,7 @@ class HtmlCell(_core.Object):
         """ConvertToText(self, HtmlSelection sel) -> String"""
         return _html.HtmlCell_ConvertToText(*args, **kwargs)
 
-HtmlCell_swigregister = _html.HtmlCell_swigregister
-HtmlCell_swigregister(HtmlCell)
+_html.HtmlCell_swigregister(HtmlCell)
 
 class HtmlWordCell(HtmlCell):
     """Proxy of C++ HtmlWordCell class"""
@@ -745,8 +744,7 @@ class HtmlWordCell(HtmlCell):
         """SetPreviousWord(self, HtmlWordCell cell)"""
         return _html.HtmlWordCell_SetPreviousWord(*args, **kwargs)
 
-HtmlWordCell_swigregister = _html.HtmlWordCell_swigregister
-HtmlWordCell_swigregister(HtmlWordCell)
+_html.HtmlWordCell_swigregister(HtmlWordCell)
 
 class HtmlContainerCell(HtmlCell):
     """Proxy of C++ HtmlContainerCell class"""
@@ -819,8 +817,7 @@ class HtmlContainerCell(HtmlCell):
         """GetFirstChild(self) -> HtmlCell"""
         return _html.HtmlContainerCell_GetFirstChild(*args, **kwargs)
 
-HtmlContainerCell_swigregister = _html.HtmlContainerCell_swigregister
-HtmlContainerCell_swigregister(HtmlContainerCell)
+_html.HtmlContainerCell_swigregister(HtmlContainerCell)
 
 class HtmlColourCell(HtmlCell):
     """Proxy of C++ HtmlColourCell class"""
@@ -829,8 +826,7 @@ class HtmlColourCell(HtmlCell):
     def __init__(self, *args, **kwargs): 
         """__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell"""
         _html.HtmlColourCell_swiginit(self,_html.new_HtmlColourCell(*args, **kwargs))
-HtmlColourCell_swigregister = _html.HtmlColourCell_swigregister
-HtmlColourCell_swigregister(HtmlColourCell)
+_html.HtmlColourCell_swigregister(HtmlColourCell)
 
 class HtmlFontCell(HtmlCell):
     """Proxy of C++ HtmlFontCell class"""
@@ -839,8 +835,7 @@ class HtmlFontCell(HtmlCell):
     def __init__(self, *args, **kwargs): 
         """__init__(self, Font font) -> HtmlFontCell"""
         _html.HtmlFontCell_swiginit(self,_html.new_HtmlFontCell(*args, **kwargs))
-HtmlFontCell_swigregister = _html.HtmlFontCell_swigregister
-HtmlFontCell_swigregister(HtmlFontCell)
+_html.HtmlFontCell_swigregister(HtmlFontCell)
 
 class HtmlWidgetCell(HtmlCell):
     """Proxy of C++ HtmlWidgetCell class"""
@@ -849,8 +844,7 @@ class HtmlWidgetCell(HtmlCell):
     def __init__(self, *args, **kwargs): 
         """__init__(self, Window wnd, int w=0) -> HtmlWidgetCell"""
         _html.HtmlWidgetCell_swiginit(self,_html.new_HtmlWidgetCell(*args, **kwargs))
-HtmlWidgetCell_swigregister = _html.HtmlWidgetCell_swigregister
-HtmlWidgetCell_swigregister(HtmlWidgetCell)
+_html.HtmlWidgetCell_swigregister(HtmlWidgetCell)
 
 #---------------------------------------------------------------------------
 
@@ -867,8 +861,47 @@ class HtmlFilter(_core.Object):
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _html.HtmlFilter__setCallbackInfo(*args, **kwargs)
 
-HtmlFilter_swigregister = _html.HtmlFilter_swigregister
-HtmlFilter_swigregister(HtmlFilter)
+_html.HtmlFilter_swigregister(HtmlFilter)
+
+class HtmlWindowInterface(object):
+    """Proxy of C++ HtmlWindowInterface class"""
+    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+    def __init__(self): raise AttributeError, "No constructor defined"
+    __repr__ = _swig_repr
+    __swig_destroy__ = _html.delete_HtmlWindowInterface
+    __del__ = lambda self : None;
+    def SetHTMLWindowTitle(*args, **kwargs):
+        """SetHTMLWindowTitle(self, String title)"""
+        return _html.HtmlWindowInterface_SetHTMLWindowTitle(*args, **kwargs)
+
+    def HTMLCoordsToWindow(*args, **kwargs):
+        """HTMLCoordsToWindow(self, HtmlCell cell, Point pos) -> Point"""
+        return _html.HtmlWindowInterface_HTMLCoordsToWindow(*args, **kwargs)
+
+    def GetHTMLWindow(*args, **kwargs):
+        """GetHTMLWindow(self) -> Window"""
+        return _html.HtmlWindowInterface_GetHTMLWindow(*args, **kwargs)
+
+    def GetHTMLBackgroundColour(*args, **kwargs):
+        """GetHTMLBackgroundColour(self) -> Colour"""
+        return _html.HtmlWindowInterface_GetHTMLBackgroundColour(*args, **kwargs)
+
+    def SetHTMLBackgroundColour(*args, **kwargs):
+        """SetHTMLBackgroundColour(self, Colour clr)"""
+        return _html.HtmlWindowInterface_SetHTMLBackgroundColour(*args, **kwargs)
+
+    def SetHTMLBackgroundImage(*args, **kwargs):
+        """SetHTMLBackgroundImage(self, Bitmap bmpBg)"""
+        return _html.HtmlWindowInterface_SetHTMLBackgroundImage(*args, **kwargs)
+
+    def SetHTMLStatusText(*args, **kwargs):
+        """SetHTMLStatusText(self, String text)"""
+        return _html.HtmlWindowInterface_SetHTMLStatusText(*args, **kwargs)
+
+    HTMLCursor_Default = _html.HtmlWindowInterface_HTMLCursor_Default
+    HTMLCursor_Link = _html.HtmlWindowInterface_HTMLCursor_Link
+    HTMLCursor_Text = _html.HtmlWindowInterface_HTMLCursor_Text
+_html.HtmlWindowInterface_swigregister(HtmlWindowInterface)
 
 #---------------------------------------------------------------------------
 
@@ -1035,9 +1068,13 @@ class HtmlWindow(_windows.ScrolledWindow):
         return _html.HtmlWindow_OnCellMouseHover(*args, **kwargs)
 
     def OnCellClicked(*args, **kwargs):
-        """OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)"""
+        """OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event) -> bool"""
         return _html.HtmlWindow_OnCellClicked(*args, **kwargs)
 
+    def OnOpeningURL(*args, **kwargs):
+        """OnOpeningURL(self, int type, String url, String redirect) -> int"""
+        return _html.HtmlWindow_OnOpeningURL(*args, **kwargs)
+
     def base_OnLinkClicked(*args, **kw):
         return HtmlWindow.OnLinkClicked(*args, **kw)
     base_OnLinkClicked = wx._deprecated(base_OnLinkClicked,
@@ -1076,8 +1113,15 @@ class HtmlWindow(_windows.ScrolledWindow):
         return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs)
 
     GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
-HtmlWindow_swigregister = _html.HtmlWindow_swigregister
-HtmlWindow_swigregister(HtmlWindow)
+    HTMLCursor_Default = _html.HtmlWindow_HTMLCursor_Default
+    HTMLCursor_Link = _html.HtmlWindow_HTMLCursor_Link
+    HTMLCursor_Text = _html.HtmlWindow_HTMLCursor_Text
+    def GetDefaultHTMLCursor(*args, **kwargs):
+        """GetDefaultHTMLCursor(int type) -> Cursor"""
+        return _html.HtmlWindow_GetDefaultHTMLCursor(*args, **kwargs)
+
+    GetDefaultHTMLCursor = staticmethod(GetDefaultHTMLCursor)
+_html.HtmlWindow_swigregister(HtmlWindow)
 
 def PreHtmlWindow(*args, **kwargs):
     """PreHtmlWindow() -> HtmlWindow"""
@@ -1105,6 +1149,10 @@ def HtmlWindow_GetClassDefaultAttributes(*args, **kwargs):
     """
   return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs)
 
+def HtmlWindow_GetDefaultHTMLCursor(*args, **kwargs):
+  """HtmlWindow_GetDefaultHTMLCursor(int type) -> Cursor"""
+  return _html.HtmlWindow_GetDefaultHTMLCursor(*args, **kwargs)
+
 #---------------------------------------------------------------------------
 
 class HtmlDCRenderer(_core.Object):
@@ -1138,8 +1186,8 @@ class HtmlDCRenderer(_core.Object):
 
     def Render(*args, **kwargs):
         """
-        Render(self, int x, int y, int from=0, int dont_render=False, int maxHeight=INT_MAX
-            int choices=None, int LCOUNT=0) -> int
+        Render(self, int x, int y, wxArrayInt known_pagebreaks, int from=0
+            int dont_render=False, int to=INT_MAX) -> int
         """
         return _html.HtmlDCRenderer_Render(*args, **kwargs)
 
@@ -1147,8 +1195,7 @@ class HtmlDCRenderer(_core.Object):
         """GetTotalHeight(self) -> int"""
         return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs)
 
-HtmlDCRenderer_swigregister = _html.HtmlDCRenderer_swigregister
-HtmlDCRenderer_swigregister(HtmlDCRenderer)
+_html.HtmlDCRenderer_swigregister(HtmlDCRenderer)
 
 PAGE_ODD = _html.PAGE_ODD
 PAGE_EVEN = _html.PAGE_EVEN
@@ -1201,8 +1248,7 @@ class HtmlPrintout(_windows.Printout):
         return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
 
     CleanUpStatics = staticmethod(CleanUpStatics)
-HtmlPrintout_swigregister = _html.HtmlPrintout_swigregister
-HtmlPrintout_swigregister(HtmlPrintout)
+_html.HtmlPrintout_swigregister(HtmlPrintout)
 
 def HtmlPrintout_AddFilter(*args, **kwargs):
   """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
@@ -1265,8 +1311,7 @@ class HtmlEasyPrinting(_core.Object):
         """GetPageSetupData(self) -> PageSetupDialogData"""
         return _html.HtmlEasyPrinting_GetPageSetupData(*args, **kwargs)
 
-HtmlEasyPrinting_swigregister = _html.HtmlEasyPrinting_swigregister
-HtmlEasyPrinting_swigregister(HtmlEasyPrinting)
+_html.HtmlEasyPrinting_swigregister(HtmlEasyPrinting)
 
 #---------------------------------------------------------------------------
 
@@ -1321,8 +1366,7 @@ class HtmlBookRecord(object):
         """GetFullPath(self, String page) -> String"""
         return _html.HtmlBookRecord_GetFullPath(*args, **kwargs)
 
-HtmlBookRecord_swigregister = _html.HtmlBookRecord_swigregister
-HtmlBookRecord_swigregister(HtmlBookRecord)
+_html.HtmlBookRecord_swigregister(HtmlBookRecord)
 
 class HtmlSearchStatus(object):
     """Proxy of C++ HtmlSearchStatus class"""
@@ -1349,8 +1393,7 @@ class HtmlSearchStatus(object):
         """GetName(self) -> String"""
         return _html.HtmlSearchStatus_GetName(*args, **kwargs)
 
-HtmlSearchStatus_swigregister = _html.HtmlSearchStatus_swigregister
-HtmlSearchStatus_swigregister(HtmlSearchStatus)
+_html.HtmlSearchStatus_swigregister(HtmlSearchStatus)
 
 class HtmlHelpData(object):
     """Proxy of C++ HtmlHelpData class"""
@@ -1381,8 +1424,7 @@ class HtmlHelpData(object):
         """GetBookRecArray(self) -> wxHtmlBookRecArray"""
         return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs)
 
-HtmlHelpData_swigregister = _html.HtmlHelpData_swigregister
-HtmlHelpData_swigregister(HtmlHelpData)
+_html.HtmlHelpData_swigregister(HtmlHelpData)
 
 HF_TOOLBAR = _html.HF_TOOLBAR
 HF_CONTENTS = _html.HF_CONTENTS
@@ -1517,11 +1559,10 @@ class HtmlHelpWindow(_core.Window):
         return _html.HtmlHelpWindow_GetCfgData(*args, **kwargs)
 
     def GetTreeCtrl(*args, **kwargs):
-        """GetTreeCtrl(self) -> wxTreeCtrl"""
+        """GetTreeCtrl(self) -> wxPyTreeCtrl"""
         return _html.HtmlHelpWindow_GetTreeCtrl(*args, **kwargs)
 
-HtmlHelpWindow_swigregister = _html.HtmlHelpWindow_swigregister
-HtmlHelpWindow_swigregister(HtmlHelpWindow)
+_html.HtmlHelpWindow_swigregister(HtmlHelpWindow)
 
 def PreHtmlHelpWindow(*args, **kwargs):
     """PreHtmlHelpWindow(HtmlHelpData data=None) -> HtmlHelpWindow"""
@@ -1534,7 +1575,7 @@ class HtmlWindowEvent(_core.NotifyEvent):
     thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
     __repr__ = _swig_repr
     def __init__(self, *args, **kwargs): 
-        """__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> HtmlWindowEvent"""
+        """__init__(self, EventType commandType=wxEVT_NULL, int id=0) -> HtmlWindowEvent"""
         _html.HtmlWindowEvent_swiginit(self,_html.new_HtmlWindowEvent(*args, **kwargs))
     def SetURL(*args, **kwargs):
         """SetURL(self, String url)"""
@@ -1544,8 +1585,7 @@ class HtmlWindowEvent(_core.NotifyEvent):
         """GetURL(self) -> String"""
         return _html.HtmlWindowEvent_GetURL(*args, **kwargs)
 
-HtmlWindowEvent_swigregister = _html.HtmlWindowEvent_swigregister
-HtmlWindowEvent_swigregister(HtmlWindowEvent)
+_html.HtmlWindowEvent_swigregister(HtmlWindowEvent)
 
 class HtmlHelpFrame(_windows.Frame):
     """Proxy of C++ HtmlHelpFrame class"""
@@ -1599,7 +1639,7 @@ class HtmlHelpFrame(_windows.Frame):
 
     def KeywordSearch(self, keyword):
         return self.GetHelpWindow().KeywordSearch(keyword)
-         
+
     def UseConfig(self, config, rootpath=""):
         return self.GetHelpWindow().UseConfig(config, rootpath)
     def ReadCustomization(self, config, rootpath=""):
@@ -1607,8 +1647,7 @@ class HtmlHelpFrame(_windows.Frame):
     def WriteCustomization(self, config, rootpath=""):
         return self.GetHelpWindow().WriteCustomization(config, rootpath)
 
-HtmlHelpFrame_swigregister = _html.HtmlHelpFrame_swigregister
-HtmlHelpFrame_swigregister(HtmlHelpFrame)
+_html.HtmlHelpFrame_swigregister(HtmlHelpFrame)
 
 def PreHtmlHelpFrame(*args, **kwargs):
     """PreHtmlHelpFrame(HtmlHelpData data=None) -> HtmlHelpFrame"""
@@ -1652,8 +1691,7 @@ class HtmlHelpDialog(_windows.Dialog):
         """SetTitleFormat(self, String format)"""
         return _html.HtmlHelpDialog_SetTitleFormat(*args, **kwargs)
 
-HtmlHelpDialog_swigregister = _html.HtmlHelpDialog_swigregister
-HtmlHelpDialog_swigregister(HtmlHelpDialog)
+_html.HtmlHelpDialog_swigregister(HtmlHelpDialog)
 
 def PreHtmlHelpDialog(*args, **kwargs):
     """PreHtmlHelpDialog(HtmlHelpData data=None) -> HtmlHelpDialog"""
@@ -1735,8 +1773,7 @@ class HelpControllerBase(_core.Object):
         """GetParentWindow(self) -> Window"""
         return _html.HelpControllerBase_GetParentWindow(*args, **kwargs)
 
-HelpControllerBase_swigregister = _html.HelpControllerBase_swigregister
-HelpControllerBase_swigregister(HelpControllerBase)
+_html.HelpControllerBase_swigregister(HelpControllerBase)
 
 class HtmlHelpController(HelpControllerBase):
     """Proxy of C++ HtmlHelpController class"""
@@ -1815,8 +1852,7 @@ class HtmlHelpController(HelpControllerBase):
         """FindTopLevelWindow(self) -> Window"""
         return _html.HtmlHelpController_FindTopLevelWindow(*args, **kwargs)
 
-HtmlHelpController_swigregister = _html.HtmlHelpController_swigregister
-HtmlHelpController_swigregister(HtmlHelpController)
+_html.HtmlHelpController_swigregister(HtmlHelpController)
 
 class HtmlModalHelp(object):
     """Proxy of C++ HtmlModalHelp class"""
@@ -1828,8 +1864,7 @@ class HtmlModalHelp(object):
             int style=wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL) -> HtmlModalHelp
         """
         _html.HtmlModalHelp_swiginit(self,_html.new_HtmlModalHelp(*args, **kwargs))
-HtmlModalHelp_swigregister = _html.HtmlModalHelp_swigregister
-HtmlModalHelp_swigregister(HtmlModalHelp)
+_html.HtmlModalHelp_swigregister(HtmlModalHelp)