mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-10-06 07:00:16 +08:00
The list of the keys which are used for editing the text and which shouldn't be taken by the accelerators using the same keys existed only in wxMSW and only as a function taking a MSG, move it to the common code as wxTextEntryBase::IsUsedForEditing() taking wxKeyEvent, as it is going to be needed by the other ports too in the upcoming commits. Note that this also slightly changes wxMSW behaviour because the keys producing printable characters, as well as Backspace, are now considered as being used for editing too and so are not passed to the accelerators any longer, which seems more correct as typing text in a control shouldn't trigger the accelerators using the same keys.