(self, parent)
| 7 | |
| 8 | class BlankPage(wx.Panel): |
| 9 | def __init__(self, parent): |
| 10 | wx.Panel.__init__(self, parent, size=(0, 0)) |
| 11 | |
| 12 | self.mainFrame = gui.mainFrame.MainFrame.getInstance() |
| 13 | self.parent = parent |
| 14 | |
| 15 | self.parent.Bind(EVT_NOTEBOOK_PAGE_CHANGED, self.pageChanged) |
| 16 | self.SetBackgroundColour(wx.SystemSettings.GetColour(wx.SYS_COLOUR_WINDOW)) |
| 17 | |
| 18 | wx.PostEvent(self.mainFrame, GE.FitChanged(fitIDs=())) |
| 19 | |
| 20 | def Destroy(self): |
| 21 | # todo: This unbind caused fits to not recalc when switching to their tabs; find out why |
nothing calls this directly
no test coverage detected