def gui(): wx.InitAllImageHandlers() a = wx.GetApp() a.main = pylab_helper_frame.create(None) a.main.Show() a.SetTopWindow(a.main) return a
def OnInit(self): wx.InitAllImageHandlers() self.main = pylab_helper_frame.create(None) self.main.Show() self.SetTopWindow(self.main) return True