X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eec92d76f8798c69f117315a7b41d08b769e31e0..a37a5a73c54c0e120f0a35fc02e3ac4b600a42ff:/utils/wxPython/demo/wxHtmlWindow.py diff --git a/utils/wxPython/demo/wxHtmlWindow.py b/utils/wxPython/demo/wxHtmlWindow.py index 5991378be8..eb2aac73e3 100644 --- a/utils/wxPython/demo/wxHtmlWindow.py +++ b/utils/wxPython/demo/wxHtmlWindow.py @@ -26,8 +26,8 @@ class MyHtmlWindow(wxHtmlWindow): self.log.WriteText('OnSetTitle: %s\n' % title) self.base_OnSetTitle(title) - def __del__(self): - print 'MyHtmlWindow.__del__' +## def __del__(self): +## print 'MyHtmlWindow.__del__' class TestHtmlPanel(wxPanel): @@ -49,9 +49,9 @@ class TestHtmlPanel(wxPanel): self.box.Add(self.html, 1, wxGROW) subbox = wxBoxSizer(wxHORIZONTAL) - btn = wxButton(self, 1201, "Show Default") - EVT_BUTTON(self, 1201, self.OnShowDefault) - subbox.Add(btn, 1, wxGROW | wxALL, 2) +## btn = wxButton(self, 1201, "Show Default") +## EVT_BUTTON(self, 1201, self.OnShowDefault) +## subbox.Add(btn, 1, wxGROW | wxALL, 2) btn = wxButton(self, 1202, "Load File") EVT_BUTTON(self, 1202, self.OnLoadFile) @@ -87,8 +87,8 @@ class TestHtmlPanel(wxPanel): self.OnShowDefault(None) - def __del__(self): - print 'TestHtmlPanel.__del__' +## def __del__(self): +## print 'TestHtmlPanel.__del__'