| 92 | self.SetIcon(icon) |
| 93 | |
| 94 | def __do_layout(self): |
| 95 | main = wx.BoxSizer(wx.VERTICAL) |
| 96 | buttonSizer = wx.BoxSizer(wx.HORIZONTAL) |
| 97 | instrLbl = wx.StaticText(self, wx.ID_ANY, "Select entities to be removed from ignore list:", style=wx.ALIGN_LEFT) |
| 98 | main.Add(instrLbl, 0, wx.EXPAND | wx.LEFT | wx.RIGHT | wx.TOP, 10) |
| 99 | main.Add(self.ignoredList, 1, wx.ALL | wx.EXPAND, 10) |
| 100 | buttonSizer.Add(self.appBtn, 1, wx.RIGHT, 5) |
| 101 | buttonSizer.Add(self.cnclBtn, 1, wx.LEFT, 5) |
| 102 | self.buttonPanel.SetSizer(buttonSizer) |
| 103 | main.Add(self.buttonPanel, 0, wx.ALIGN_BOTTOM | wx.BOTTOM | wx.EXPAND | wx.LEFT | wx.RIGHT, 10) |
| 104 | self.SetSizer(main) |
| 105 | self.Layout() |
| 106 | self.Centre() |
| 107 | |
| 108 | def _populateList(self): |
| 109 | idx = 0 |