From 55d407fd0d897411d9c95c8e84cffb00163ca90a Mon Sep 17 00:00:00 2001 From: "aaronleventhal%moonset.net" Date: Mon, 17 Jul 2006 20:45:10 +0000 Subject: [PATCH] Fixing bustage that's only happening on thunderbird tbox --- accessible/src/msaa/nsRoleMap.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/accessible/src/msaa/nsRoleMap.h b/accessible/src/msaa/nsRoleMap.h index e942eaaafc78..3d2718fef1d2 100644 --- a/accessible/src/msaa/nsRoleMap.h +++ b/accessible/src/msaa/nsRoleMap.h @@ -43,6 +43,18 @@ #define USE_ROLE_STRING 0 #define ROLE_MSAA_LAST_ENTRY -1 +#ifndef ROLE_SYSTEM_SPLITBUTTON +#define ROLE_SYSTEM_SPLITBUTTON ( 0x3e ) // Not defined in all oleacc.h versions +#endif + +#ifndef ROLE_SYSTEM_IPADDRESS +#define ROLE_SYSTEM_IPADDRESS ( 0x3f ) // Not defined in all oleacc.h versions +#endif + +#ifndef ROLE_SYSTEM_OUTLINEBUTTON +#define ROLE_SYSTEM_OUTLINEBUTTON ( 0x40 ) // Not defined in all oleacc.h versions +#endif + // Map array from cross platform roles to MSAA roles PRUint32 msaaRoleMap[] = { USE_ROLE_STRING, // nsIAccessible::ROLE_NOTHING