def __init__(self, parent, adhesion_type=None):
        wx.Panel.__init__(self, parent, style=wx.TAB_TRAVERSAL)

        if adhesion_type == None:
            adhesion_type = AdhesionType()

        self.adhesion_type = adhesion_type

        self.label_nom = wx.StaticText(self, -1, "Nom")
        self.text_ctrl_Nom = wx.TextCtrl(self, -1, "", validator=GenericTextValidator())
        self.label_prix = wx.StaticText(self, -1, "Prix")
        self.text_ctrl_Prix = wx.TextCtrl(self, -1, "", validator=GenericTextValidator(flag=VALIDATE_FLOAT))
        self.label_euros = wx.StaticText(self, -1, u"¤")
        self.bouton_valider = wx.Button(self, wx.ID_OK, "Valider")
        self.bouton_annuler = wx.Button(self, wx.ID_CANCEL, "Annuler")

        self.__set_properties()
        self.__set_valeurs()
        self.__do_layout()

        self.Bind(wx.EVT_BUTTON, self.OnValider, self.bouton_valider)