Bug 373245. Accessibility doesn't build with VC9. r=bsmedberg, a=dsicore
git-svn-id: svn://10.0.0.236/trunk@239077 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -105,7 +105,6 @@ include $(topsrcdir)/config/rules.mk
|
||||
|
||||
OS_LIBS = \
|
||||
kernel32.lib \
|
||||
rpcndr.lib \
|
||||
rpcns4.lib \
|
||||
rpcrt4.lib \
|
||||
ole32.lib \
|
||||
|
||||
@@ -87,7 +87,6 @@ SRCDIR_CSRCS = $(addprefix $(srcdir)/,$(CSRCS))
|
||||
|
||||
OS_LIBS = \
|
||||
kernel32.lib \
|
||||
rpcndr.lib \
|
||||
rpcns4.lib \
|
||||
rpcrt4.lib \
|
||||
oleaut32.lib \
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
/* For documentation of the accessibility architecture,
|
||||
/* For documentation of the accessibility architecture,
|
||||
* see http://lxr.mozilla.org/seamonkey/source/accessible/accessible-docs.html
|
||||
*/
|
||||
|
||||
@@ -53,7 +53,10 @@
|
||||
#include "nsAccessNode.h"
|
||||
#include "OLEIDL.H"
|
||||
#include "OLEACC.H"
|
||||
#include "winable.h"
|
||||
#include <winuser.h>
|
||||
#ifndef WINABLEAPI
|
||||
#include <winable.h>
|
||||
#endif
|
||||
#undef ERROR /// Otherwise we can't include nsIDOMNSEvent.h if we include this
|
||||
|
||||
typedef LRESULT (STDAPICALLTYPE *LPFNNOTIFYWINEVENT)(DWORD event,HWND hwnd,LONG idObjectType,LONG idObject);
|
||||
|
||||
@@ -38,7 +38,10 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#include "winable.h"
|
||||
#include <winuser.h>
|
||||
#ifndef WINABLEAPI
|
||||
#include <winable.h>
|
||||
#endif
|
||||
#include "AccessibleEventId.h"
|
||||
|
||||
const PRUint32 kEVENT_WIN_UNKNOWN = 0x00000000;
|
||||
|
||||
@@ -600,7 +600,11 @@ NS_IMETHODIMP nsXULTreeitemAccessible::GetName(nsAString& aName)
|
||||
NS_ENSURE_TRUE(mTree && mTreeView, NS_ERROR_FAILURE);
|
||||
mTreeView->GetCellText(mRow, mColumn, aName);
|
||||
|
||||
// if still no name try cell value
|
||||
// If there is still no name try the cell value:
|
||||
// This is for graphical cells. We need tree/table view implementors to implement
|
||||
// FooView::GetCellValue to return a meaningful string for cases where there is
|
||||
// something shown in the cell (non-text) such as a star icon; in which case
|
||||
// GetCellValue for that cell would return "starred" or "flagged" for example.
|
||||
if (aName.IsEmpty()) {
|
||||
mTreeView->GetCellValue(mRow, mColumn, aName);
|
||||
}
|
||||
|
||||
@@ -92,7 +92,6 @@
|
||||
// unknwn.h is needed to build with WIN32_LEAN_AND_MEAN
|
||||
#include <unknwn.h>
|
||||
|
||||
//#include <winuser.h>
|
||||
#include <zmouse.h>
|
||||
//#include "sysmets.h"
|
||||
#include "nsGfxCIID.h"
|
||||
@@ -105,7 +104,10 @@
|
||||
|
||||
#ifdef ACCESSIBILITY
|
||||
#include "OLEIDL.H"
|
||||
#include "winable.h"
|
||||
#include <winuser.h>
|
||||
#ifndef WINABLEAPI
|
||||
#include <winable.h>
|
||||
#endif
|
||||
#include "nsIAccessible.h"
|
||||
#include "nsIAccessibleDocument.h"
|
||||
#include "nsIAccessNode.h"
|
||||
|
||||
Reference in New Issue
Block a user