no longer binding wx.EVT_TOGGLEBUTTON

All my applications stopped abruptly binding the event wx.EVT_TOGGLEBUTTON to the required methods.
The sample code is:
self.Bind(wx.EVT_TOGGLEBUTTON, self.OnTick, btSpunta)

Until yesterday evening the buttons (that are all GenBitmapTextToggleButton) worked properly.

Is this a known bug?

Thanks

Raffaello Barella wrote:

All my applications stopped abruptly binding the event wx.EVT_TOGGLEBUTTON to the required methods.
The sample code is:
self.Bind(wx.EVT_TOGGLEBUTTON, self.OnTick, btSpunta)

Until yesterday evening the buttons (that are all GenBitmapTextToggleButton) worked properly.

I don't see how. The generic buttons only send the EVT_BUTTON event, not EVT_TOGGLEBUTTON. See wx/lib/buttons.py for details.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!