X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e08d4efc7e111d6389d5c00b5bd2b5e5afa657e..bc50a2ae95f2ab36b16ceedc7902a9cbfb2f70ea:/wxPython/src/mac/html.py diff --git a/wxPython/src/mac/html.py b/wxPython/src/mac/html.py index e73b2e983b..a09f041017 100644 --- a/wxPython/src/mac/html.py +++ b/wxPython/src/mac/html.py @@ -831,6 +831,18 @@ class HtmlWordCell(HtmlCell): self.this = newobj.this self.thisown = 1 del newobj.thisown + def ConvertToText(*args, **kwargs): + """ConvertToText(self, HtmlSelection sel) -> String""" + return _html.HtmlWordCell_ConvertToText(*args, **kwargs) + + def IsLinebreakAllowed(*args, **kwargs): + """IsLinebreakAllowed(self) -> bool""" + return _html.HtmlWordCell_IsLinebreakAllowed(*args, **kwargs) + + def SetPreviousWord(*args, **kwargs): + """SetPreviousWord(self, HtmlWordCell cell)""" + return _html.HtmlWordCell_SetPreviousWord(*args, **kwargs) + class HtmlWordCellPtr(HtmlWordCell): def __init__(self, this): @@ -1160,21 +1172,41 @@ class HtmlWindow(_windows.ScrolledWindow): """ToText(self) -> String""" return _html.HtmlWindow_ToText(*args, **kwargs) - def base_OnLinkClicked(*args, **kwargs): - """base_OnLinkClicked(self, HtmlLinkInfo link)""" - return _html.HtmlWindow_base_OnLinkClicked(*args, **kwargs) - - def base_OnSetTitle(*args, **kwargs): - """base_OnSetTitle(self, String title)""" - return _html.HtmlWindow_base_OnSetTitle(*args, **kwargs) - - def base_OnCellMouseHover(*args, **kwargs): - """base_OnCellMouseHover(self, HtmlCell cell, int x, int y)""" - return _html.HtmlWindow_base_OnCellMouseHover(*args, **kwargs) - - def base_OnCellClicked(*args, **kwargs): - """base_OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)""" - return _html.HtmlWindow_base_OnCellClicked(*args, **kwargs) + def OnLinkClicked(*args, **kwargs): + """OnLinkClicked(self, HtmlLinkInfo link)""" + return _html.HtmlWindow_OnLinkClicked(*args, **kwargs) + + def OnSetTitle(*args, **kwargs): + """OnSetTitle(self, String title)""" + return _html.HtmlWindow_OnSetTitle(*args, **kwargs) + + def OnCellMouseHover(*args, **kwargs): + """OnCellMouseHover(self, HtmlCell cell, int x, int y)""" + return _html.HtmlWindow_OnCellMouseHover(*args, **kwargs) + + def OnCellClicked(*args, **kwargs): + """OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)""" + return _html.HtmlWindow_OnCellClicked(*args, **kwargs) + + def base_OnLinkClicked(*args, **kw): + return HtmlWindow.OnLinkClicked(*args, **kw) + base_OnLinkClicked = wx._deprecated(base_OnLinkClicked, + "Please use HtmlWindow.OnLinkClicked instead.") + + def base_OnSetTitle(*args, **kw): + return HtmlWindow.OnSetTitle(*args, **kw) + base_OnSetTitle = wx._deprecated(base_OnSetTitle, + "Please use HtmlWindow.OnSetTitle instead.") + + def base_OnCellMouseHover(*args, **kw): + return HtmlWindow.OnCellMouseHover(*args, **kw) + base_OnCellMouseHover = wx._deprecated(base_OnCellMouseHover, + "Please use HtmlWindow.OnCellMouseHover instead.") + + def base_OnCellClicked(*args, **kw): + return HtmlWindow.OnCellClicked(*args, **kw) + base_OnCellClicked = wx._deprecated(base_OnCellClicked, + "Please use HtmlWindow.OnCellClicked instead.") def GetClassDefaultAttributes(*args, **kwargs): """