示例#1
0
 def setUp(self):
     self.app = wx.App()
     #self.grid = GridFrame(self.ErMagic, self.WD, grid_type, grid_type, self.panel)
     self.ErMagic = builder.ErMagicBuilder(WD, DMODEL)
     self.ErMagic.init_default_headers()
     self.ErMagic.init_actual_headers()
     self.frame = magic_gui.MainFrame(WD)
示例#2
0
 def setUp(self):
     self.app = wx.App()
     self.frame = magic_gui.MainFrame(WD, "zebra", DMODEL)
     self.app.frame = self.frame
     self.pnl = self.frame.GetChildren()[0]
示例#3
0
 def setUp(self):
     self.app = wx.App()
     self.frame = magic_gui.MainFrame(os.path.join(WD, 'data_files',
                                                   'copy_ErMagicBuilder'),
                                      dmodel=DMODEL)
     self.pnl = self.frame.GetChildren()[0]