In wxpython 2.8 or before, this function does generate EVT_TEXT, but it doesn’t in wxpython 2.9. Is this a new change or not?
Mark
In wxpython 2.8 or before, this function does generate EVT_TEXT, but it doesn’t in wxpython 2.9. Is this a new change or not?
Mark
In general wx tries to make it such that change events are not emitted when the value of a control is changed via the API and not by user interaction. There are some cases where that is not the case (such as wx.TextCtrl) and so the events are still emitted because it was documented that way or for other legacy reasons. Since it is not documented that the spinctrl emits EVT_TEXT then I assume that it was probably decided that it should not and so it was changed intentionally. I could be wrong though.
On 2/3/11 4:32 AM, Mark Weng wrote:
In wxpython 2.8 or before, this function does generate EVT_TEXT, but it
doesn't in wxpython 2.9. Is this a new change or not?
--
Robin Dunn
Software Craftsman