def __init__(self, parent):
wx.Notebook.__init__(self, parent, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, 0)
self.highlight_char = unichr(0x2022)
self._prior_notebook_page_change = (None, None)
self.ztv_frame = self.GetTopLevelParent()
self.ztv_frame.control_panels = [] # list of currently loaded/visible control panels, in order of display
for cur_title, cur_panel in self.ztv_frame.control_panels_to_load:
self.AddPanelAndStoreID(cur_panel(self), cur_title)
self.ztv_frame.primary_image_panel.init_popup_menu()
评论列表
文章目录