]> git.saurik.com Git - wxWidgets.git/commit
Generate wxEVT_COMMAND_TEXT_ENTER events for generic wxSpinCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Aug 2012 20:25:01 +0000 (20:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Aug 2012 20:25:01 +0000 (20:25 +0000)
commit9bd25c86704221bb5cf6cbe56b1b593120902ac7
tree09ab4c9f112193bd2091b84ce02d719ce97c837d
parent9e565667d0f29605c948ad6e742310798e3b2d0d
Generate wxEVT_COMMAND_TEXT_ENTER events for generic wxSpinCtrl.

Pass wxTE_PROCESS_ENTER to wxSpinCtrlTextGeneric if it's specified for
wxSpinCtrl itself and also forward wxEVT_COMMAND_TEXT_ENTER events from it to
wxSpinCtrl itself.

This fixes lack of these events for wxSpinCtrlDouble under MSW and also lack
of them for any kind of wxSpinCtrl in the ports using generic version (notably
wxOSX).

Closes #14604.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/widgets/spinbtn.cpp
src/generic/spinctlg.cpp