equal
deleted
inserted
replaced
60 |
60 |
61 def Bind(self, event, handler, source=None, id=wx.ID_ANY, id2=wx.ID_ANY): |
61 def Bind(self, event, handler, source=None, id=wx.ID_ANY, id2=wx.ID_ANY): |
62 if event == HtmlWindowUrlClick: |
62 if event == HtmlWindowUrlClick: |
63 self.Connect(-1, -1, EVT_HTML_URL_CLICK, handler) |
63 self.Connect(-1, -1, EVT_HTML_URL_CLICK, handler) |
64 else: |
64 else: |
65 wx.html.HtmlWindow.Bind(event, handler, source=source, id=id, id2=id2) |
65 wx.html.HtmlWindow.Bind(self, event, handler, source=source, id=id, id2=id2) |
66 |
66 |
67 |
67 |
68 class HtmlFrame(wx.Frame): |
68 class HtmlFrame(wx.Frame): |
69 def _init_ctrls(self, prnt): |
69 def _init_ctrls(self, prnt): |
70 self.SetIcon(prnt.icon) |
70 self.SetIcon(prnt.icon) |