| 66 | self._InitEventHandlers() |
| 67 | |
| 68 | def _InitComponents(self): |
| 69 | self.backBtn = buttons.GenBitmapButton(self, -1, |
| 70 | wx.Bitmap(os.path.join(self.bitmapDir, "back.png"), |
| 71 | wx.BITMAP_TYPE_PNG), style=wx.BORDER_NONE) |
| 72 | self.forwardBtn = buttons.GenBitmapButton(self, -1, |
| 73 | wx.Bitmap(os.path.join(self.bitmapDir, "forward.png"), |
| 74 | wx.BITMAP_TYPE_PNG), style=wx.BORDER_NONE) |
| 75 | self.reloadBtn = buttons.GenBitmapButton(self, -1, |
| 76 | wx.Bitmap(os.path.join(self.bitmapDir, "reload_page.png"), |
| 77 | wx.BITMAP_TYPE_PNG), style=wx.BORDER_NONE) |
| 78 | |
| 79 | self.url = wx.TextCtrl(self, id=-1, style=0) |
| 80 | |
| 81 | self.historyPopup = wx.Menu() |
| 82 | |
| 83 | def _LayoutComponents(self): |
| 84 | sizer = wx.BoxSizer(wx.HORIZONTAL) |