Two Widget Events, One Handler?

Rich Shepard wrote:

  I have several wx.SpinCtrl() widgets in my application. I don't care how
they're changed (direct entry or with the spinner), but I do need to capture
the set value (using .GetValue() ) when the entries are saved.

  Will I get myself into programmatic trouble if I handle both wx.EVT_TEXT
and wx.EVT_SPINCTRL with the same handler?

As long as you don't do something that is specific to the type of event, then there shouldn't be any problem.

···

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