]> git.saurik.com Git - wxWidgets.git/commit
Ignore WXK_NONE events in wxStyledTextCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 28 Nov 2011 13:34:16 +0000 (13:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 28 Nov 2011 13:34:16 +0000 (13:34 +0000)
commit836499118f808b2d2eb11e3ef58690c6c7bf8f6c
treef56d4e53c306d9b28f5716e20542d6052047dcb6
parent1d8d3cc5a1ae14397d1549bd5ad6323e47b3a696
Ignore WXK_NONE events in wxStyledTextCtrl.

Scintilla use of 0 indicating "modifier key" conflicts with our use of
WXK_NONE indicating absence of a valid key code. As Scintilla can't do
anything with the keys without a key code anyhow, simply ignore them
immediately, without passing them to Scintilla, in DoKeyDown().

This fixes handling of IME input in wxStyledTextCtrl under MSW and possibly
other problems (e.g. with dead char keys).

Closes #13570.

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