73 self.SetIcon(prnt.icon) |
73 self.SetIcon(prnt.icon) |
74 self.Bind(wx.EVT_CLOSE, self.OnCloseFrame) |
74 self.Bind(wx.EVT_CLOSE, self.OnCloseFrame) |
75 |
75 |
76 self.HtmlContent = UrlClickHtmlWindow(id=ID_HTMLFRAMEHTMLCONTENT, |
76 self.HtmlContent = UrlClickHtmlWindow(id=ID_HTMLFRAMEHTMLCONTENT, |
77 name='HtmlContent', parent=self, pos=wx.Point(0, 0), |
77 name='HtmlContent', parent=self, pos=wx.Point(0, 0), |
78 size=wx.Size(-1, -1), style=wx.html.HW_SCROLLBAR_AUTO|wx.html.HW_NO_SELECTION) |
78 size=wx.Size(-1, -1), style=wx.html.HW_SCROLLBAR_AUTO | wx.html.HW_NO_SELECTION) |
79 self.HtmlContent.Bind(HtmlWindowUrlClick, self.OnLinkClick) |
79 self.HtmlContent.Bind(HtmlWindowUrlClick, self.OnLinkClick) |
80 |
80 |
81 def __init__(self, parent, opened): |
81 def __init__(self, parent, opened): |
82 self._init_ctrls(parent) |
82 self._init_ctrls(parent) |
83 self.HtmlFrameOpened = opened |
83 self.HtmlFrameOpened = opened |