def __init__(self,parent,server,id=-1): self.server = server server.SetStatusWindow(self) self.caption = self.MakeCaption() panel_window.__init__(self,parent,id,self.caption) self.CreateControls() self.CreateSizers() self.AddControls()
def __init__(self,parent,id=-1,caption=""): panel_window.__init__(self,parent,id,caption) self.CreateControls() self.CreateSizers() self.AddControls()