]> git.saurik.com Git - wxWidgets.git/commit
Generate text events in generic wxSpinCtrl itself.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 9 Oct 2012 21:02:17 +0000 (21:02 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 9 Oct 2012 21:02:17 +0000 (21:02 +0000)
commit319faba717040fd0af134f4a36fba3f0b8e284ab
tree07e5774fcf4cbb54481343f16f308c02d806895f
parent34af6cfc8d07072bb8b44716ca62b45b95b1f6a9
Generate text events in generic wxSpinCtrl itself.

The text events in a wxSpinCtrl should originate from the control itself but
they were just propagated upwards from wxTextCtrl embedded into it and hence
had wrong event object and event ID fields.

Fix this by making EVT_TEXT come from wxSpinCtrl itself, in addition to
EVT_TEXT_ENTER ones which we already forwarded like this.

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