wx.SpinDoubleCtrl does not emit wxSpinDoubleEvent when ENTER key is pressed on MSW
|Reported by:||glhubbard||Owned by:||vadz|
On MSW, and presumably any other platform using wxSpinCtrlGeneric to implement wx.SpinCtrlDouble, no event is emitted when the enter key is pressed.
This seems to be a wxWidgets bug, but as I only use wxPython, I am posting the bug here.
Examining the C++ source code, it seems like wxSpinCtrlGenericBase:: OnTextChar needs to handle the ENTER key.
I attempted to a workaround deriving my own subclass from wxSpinCtrlDouble, and binding to wx.EVT_CHAR, but the enter key never reaches my code, even though other characters do. I do not understand this.
This is my first ticket. Please correct me on anything I did incorrectly.