I have this button :
self.mybutton= wx.Button(self, -1, label= "mylabel", pos=(100,180))
self.Bind(wx.EVT_BUTTON, self.Onbutton, self.mybutton)
and need to Bind it to another function whenspecifc radio button is choosen for exmaple :
def onRadiobutton(self,event) :
if choosen radio button :
bind the mybutton to another function
How can i do it ?