Ticket #12045 (closed defect: fixed)
wxSpinCtrlDouble ignores mouse input after being disabled and re-enabled
|Reported by:||amz||Owned by:|
As described in the summary, if you call Enable(false) and then Enable(true) on a wxSpinCtrlDouble control, it ceases responding to mouse events. Specifically:
- Clicking on it won't make it take focus
- Clicking on the spin buttons won't change the value of the field
However, keyboard operation still works; I can tab into it and manually enter values, as well as press up and down to "spin" the control. It also "looks" enabled.
wxSpinCtrl (which is implemented natively) works as intended.
I'm using the April 30th snapshot of wxWidgets (available from front page), compiled on Microsoft Visual Studio 2010, and running on Windows 7 Business.
This issue might be related to issue #12004.
I have reproduced the bug on the "widgets" sample, unified diff file is attached.