Make wxUIActionSimulator::Text() to work with punctuation characters.

Currently this only really works when using the standard US keyboard layout as
we don't have information about the mapping from the characters to the keyboard
keys for the other layouts, which is not ideal but better than nothing as it
allows e.g. Text("foo_bar") to really produce "foo_bar" in the currently
focused text control instead of "foo-bar" as before.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2015-02-15 00:02:00 +00:00
parent 8f9b3ac8be
commit f412007f61
2 changed files with 45 additions and 5 deletions

View File

@@ -171,9 +171,9 @@ public:
/**
Emulate typing in the keys representing the given string.
Currently only the ASCII letters, digits and characters for the definition
of numbers (i.e. characters @c a-z @c A-Z @c 0-9 @c + @c - @c . @c , @c 'space')
are supported.
Currently only the ASCII letters are universally supported. Digits and
punctuation characters can be used with the standard QWERTY (US)
keyboard layout but may not work with other layouts.
@param text
The string to type.