Discussion: wxPython
Afficher un message
Vieux 17/10/2007, 18h20   #8
Amaury Forgeot d'Arc
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wxPython

jean-michel bain-cornu a écrit :
>> self.wizard.FindWindow(wx.ID_FORWARD ).SetLabel('En avant!')
>> self.wizard.FindWindow(wx.ID_BACKWARD).SetLabel('E n arrière!')
>> self.wizard.FindWindow(wx.ID_CANCEL ).SetLabel('Quitter')
>>

>
> En fait, il faut utiliser self.wizard.FindWindowById (en tout cas dans
> la version que j'utilise, la 2.6.1, qui n'est certes pas la dernière)


Argh! Ce que j'ai copié est directement adapté du C++.
wxPython n'aime pas les fonctions surchagées, et les renomme
systématiquement.
J'aurais dû vérifier avant de poster...

--
Amaury
  Réponse avec citation
 
Page generated in 0,04735 seconds with 9 queries