X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f9be7879ee3f1ec65e625563ff74944ef903967..a92b0cfd2bd0bef75b43c071df0b0e028f360d8e:/wxPython/demo/wxHtmlWindow.py?ds=inline diff --git a/wxPython/demo/wxHtmlWindow.py b/wxPython/demo/wxHtmlWindow.py index 69d1d12e02..cd15d3f131 100644 --- a/wxPython/demo/wxHtmlWindow.py +++ b/wxPython/demo/wxHtmlWindow.py @@ -32,8 +32,13 @@ class MyHtmlWindow(wxHtmlWindow): self.log.WriteText('OnSetTitle: %s\n' % title) self.base_OnSetTitle(title) -## def __del__(self): -## print 'MyHtmlWindow.__del__' + def OnCellMouseHover(self, cell, x, y): + self.log.WriteText('OnCellMouseHover: %s, (%d %d)\n' % (cell, x, y)) + self.base_OnCellMouseHover(cell, x, y) + + def OnCellClicked(self, cell, x, y, evt): + self.log.WriteText('OnCellClicked: %s, (%d %d)\n' % (cell, x, y)) + self.base_OnCellClicked(cell, x, y, evt) class TestHtmlPanel(wxPanel):