Make wxUIActionSimulator mouse move events marginally more precise.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 Jun 2011 15:13:59 +0000 (15:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 Jun 2011 15:13:59 +0000 (15:13 +0000)
commit616ad49187a53438670e4bce01e25e8030951a31
treed2e627a147bcb4dbef7df54bf6691478c1299139
parent53d7ab954538275e0ad7a272f254c2420a4b4186
Make wxUIActionSimulator mouse move events marginally more precise.

Round the values instead of truncating them when converting from pixel values
to Win32 ::mouse_event() 0..65535 scale. This probably doesn't make any real
difference in practice but seems more correct and also avoids g++ warnings.

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