Generate the same flags for modifier key events in wxGTK as in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 11 Sep 2010 10:19:14 +0000 (10:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 11 Sep 2010 10:19:14 +0000 (10:19 +0000)
commitd0fb62a656c9e47dc4887c5143e692616c36aa37
tree3a0c371469a3b3e253e3ec821c53e2e9ec006579
parent7333c0ef82d54cd2ed21b58fb4fdbcce4f9c9ab6
Generate the same flags for modifier key events in wxGTK as in wxMSW.

Resolve the discrepancy between modifier flags of the key events corresponding
to the modifier key itself between wxMSW and wxGTK by changing the latter to
follow wxMSW behaviour.

Clearly document the now officially correct behaviour of the modifiers for the
key events corresponding to the modifiers keys themselves in the manual.

This fix also makes it unnecessary to work around this bug in the keyboard
unit test so remove it from there.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
interface/wx/event.h
src/gtk/window.cpp
tests/events/keyboard.cpp