def __init__(self, *args, **kwargs): if not kwargs.has_key('title') and len(args) < 3: kwargs['title'] = "Setup postazione" ConfigDialog.__init__(self, *args, **kwargs) self.panel = ProgramUpdatesSetupPanel(self, -1) self.AddSizedPanel(self.panel) self.Bind(wx.EVT_BUTTON, self.OnQuit, id=wdr.ID_BTNQUIT) self.Bind(wx.EVT_BUTTON, self.OnSave, id=wdr.ID_BTNOK)
def __init__(self, *args, **kwargs): if not kwargs.has_key('title') and len(args) < 3: kwargs['title'] = "Codici di attivazione" ConfigDialog.__init__(self, *args, **kwargs) self.panel = ActivationCodesPanel(self, -1) self.AddSizedPanel(self.panel) self.CenterOnScreen() self.Bind(wx.EVT_BUTTON, self.OnSave, id=wdr.ID_BTNOK)
def __init__(self, *args, **kwargs): if not kwargs.has_key('title') and len(args) < 3: kwargs['title'] = "Licenza d'uso" ConfigDialog.__init__(self, *args, **kwargs) self.panel = LicensePanel(self, -1) self.AddSizedPanel(self.panel) self.CenterOnScreen() self.Bind(wx.EVT_BUTTON, self.OnSave, id=wdr.ID_BTNOK)