diff options
author | Jan-Arve Saether <jan-arve.saether@nokia.com> | 2012-04-25 09:13:07 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-25 12:43:25 +0200 |
commit | 3fef4b46350d3bb47447e9f18dfbb31209dfa484 (patch) | |
tree | 615e9b43b31c3f5d50412fbfb85eb351938cb3c4 /mkspecs/freebsd-g++46 | |
parent | 17ebedf5fc640abbe7af9ffc97bb62404a7eefdd (diff) |
Do not map LayeredPane and Terminal to the wrong MSAA role
Microsoft did at some point extend the roles in MSAA with two extra
roles (ROLE_SYSTEM_IPADDRESS and ROLE_SYSTEM_OUTLINEBUTTON).
These are defined in oleacc.h as:
#define ROLE_SYSTEM_IPADDRESS ( 0x3f )
#define ROLE_SYSTEM_OUTLINEBUTTON ( 0x40 )
This means that LayeredPane will map to ROLE_SYSTEM_IPADDRESS
and Terminal will map to ROLE_SYSTEM_OUTLINEBUTTON, which is
obviously wrong.
We now reserve some valuespace for more roles to reduce the likelyness of
any collisions in the future. Having the reserved area also serves
as a way of indicating the boundary between the "MSAA" enums and other
enums.
Change-Id: Ic67a1a7200382fed3040e69b3e8856376ba642ac
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
Diffstat (limited to 'mkspecs/freebsd-g++46')
0 files changed, 0 insertions, 0 deletions