Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Ingreso(vIngreso):
- def __init__(self,parent,catalog):
- vIngreso.__init__(self, parent)
- self.Estado=(None,None)
- self.Bind( wx.EVT_UPDATE_UI, self.OnUpdateUI )
- def OnUpdateUI(self,event):
- estado=(self.Operador.GetValue(),self.Clave.GetValue())
- if self.Estado!=estado:
- self.Estado=estado
- if self.Estado[0] and self.Estado[1]:
- self.CargoRoles() #en esta funcion valido mi operador
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement