Wrapper updates for wxHtmlLinkInfo and other changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-12-24 03:28:55 +00:00
parent f533a674ae
commit 9c00cfa3e5
5 changed files with 471 additions and 211 deletions

View File

@@ -14,11 +14,17 @@ class MyHtmlWindow(wxHtmlWindow):
wxHtmlWindow.__init__(self, parent, id)
self.log = log
def OnLinkClicked(self, link):
self.log.WriteText('OnLinkClicked: %s\n' % link)
def OnLinkClicked(self, linkinfo):
self.log.WriteText('OnLinkClicked: %s\n' % linkinfo.GetHref())
# Virtuals in the base class have been renamed with base_ on the font.
self.base_OnLinkClicked(link)
self.base_OnLinkClicked(linkinfo)
def OnSetTitle(self, title):
self.log.WriteText('OnSetTitle: %s\n' % title)
self.base_OnSetTitle(title)