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:
@@ -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)
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user