- self.choice_indice = wx.Choice(self, -1, (100,50), choices = [u'loi hypergéométique', u'chi2'])
- self.label = wx.StaticText(self, -1, u"effectif minimum")
- self.spin = wx.SpinCtrl(self, -1, min = 1, max = 10000)
+ self.choice_indice = wx.Choice(self, -1, (100,50), choices = indices)
+ if not self.force_chi :
+ self.label = wx.StaticText(self, -1, u"effectif minimum")
+ self.spin = wx.SpinCtrl(self, -1, min = 1, max = 10000)