Some minor updates, fixes, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -18,7 +18,7 @@ class MyHtmlWindow(wxHtmlWindow):
|
||||
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.
|
||||
# Virtuals in the base class have been renamed with base_ on the front.
|
||||
self.base_OnLinkClicked(linkinfo)
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ class MyHtmlWindow(wxHtmlWindow):
|
||||
self.log.WriteText('OnSetTitle: %s\n' % title)
|
||||
self.base_OnSetTitle(title)
|
||||
|
||||
def __del__(self):
|
||||
print 'MyHtmlWindow.__del__'
|
||||
|
||||
|
||||
class TestHtmlPanel(wxPanel):
|
||||
@@ -37,7 +39,6 @@ class TestHtmlPanel(wxPanel):
|
||||
if not self.cwd:
|
||||
self.cwd = os.getcwd()
|
||||
|
||||
|
||||
self.html = MyHtmlWindow(self, -1, log)
|
||||
self.html.SetRelatedFrame(frame, "wxPython: (A Demonstration) -- %s")
|
||||
self.html.SetRelatedStatusBar(0)
|
||||
@@ -86,6 +87,9 @@ class TestHtmlPanel(wxPanel):
|
||||
self.OnShowDefault(None)
|
||||
|
||||
|
||||
def __del__(self):
|
||||
print 'TestHtmlPanel.__del__'
|
||||
|
||||
|
||||
|
||||
def OnShowDefault(self, event):
|
||||
|
Reference in New Issue
Block a user