]> git.saurik.com Git - wxWidgets.git/commit - samples/uiaction/uiaction.cpp
Use '1'..'9' to simulate digits instead of WXK_NUMPADn.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 Dec 2011 15:55:40 +0000 (15:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 Dec 2011 15:55:40 +0000 (15:55 +0000)
commit1863484b0889b14191e43b4de9b31fed847cc29d
tree8dd922af7e02002bd9ad1b5bb901cde619130e05
parent64c502e828ebb1bb713cb8755c7bde77d41bea17
Use '1'..'9' to simulate digits instead of WXK_NUMPADn.

Using WXK_NUMPADn with wxUIActionSimulator doesn't work under Unix, the
resulting GDK events have wrong keyval for some reason.

It would, of course, be nice to fix this but in the meanwhile use ASCII codes
to simulate the digits to at least allow doing this at all.

Also extend uiaction sample to allow testing text simulation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/uiaction/uiaction.cpp
src/common/uiactioncmn.cpp