Hi,
Here is anextract of my code :
self.select = wx.Button(panel,20, ‘Select’, (10,10))
self.Bind(wx.EVT_BUTTON, self.OnSelect, self.select)
self.confirmation = wx.Button(panel,20, ‘Search’, (10,10))
self.Bind(wx.EVT_BUTTON, self.OnSearch, self.confirmation)
The two buttons are on the same panel, with 2 differents actions. But when I launch my script, the action that seems be bind to the buttons is the last action declare. I means, in this case, the action will be OnSearch. But if I declare confirmation before select, the action will be OnSelect for both.
Where is the problem ?
···
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail
Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.
Téléchargez GRATUITEMENT ici !