Bug 345421 nsRoleMap.h uses -1 for PRUint32

patch by gaomingcn at gmail.com r=aaronleventhal
This commit is contained in:
ginn.chen%sun.com 2006-07-25 05:31:28 +00:00
Родитель 91f4bf9f2e
Коммит e3cd95949c
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -41,7 +41,7 @@
#include <atk/atk.h>
#include "nsAccessibleWrap.h"
#define ROLE_ATK_LAST_ENTRY -1
const PRUint32 ROLE_ATK_LAST_ENTRY = 0xffffffff;
// Map array from cross platform roles to ATK roles
PRUint32 atkRoleMap[] = {

Просмотреть файл

@ -40,19 +40,19 @@
#include "OLEACC.H"
#define USE_ROLE_STRING 0
#define ROLE_MSAA_LAST_ENTRY -1
const PRUint32 USE_ROLE_STRING = 0;
const PRUint32 ROLE_MSAA_LAST_ENTRY = 0xffffffff;
#ifndef ROLE_SYSTEM_SPLITBUTTON
#define ROLE_SYSTEM_SPLITBUTTON ( 0x3e ) // Not defined in all oleacc.h versions
const PRUint32 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
const PRUint32 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
const PRUint32 ROLE_SYSTEM_OUTLINEBUTTON = 0x40; // Not defined in all oleacc.h versions
#endif
// Map array from cross platform roles to MSAA roles