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:
aaronleventhal%moonset.net
2007-11-09 18:38:08 +00:00
parent eeca43f63f
commit 8bf02ffa3e
6 changed files with 18 additions and 8 deletions

View File

@@ -105,7 +105,6 @@ include $(topsrcdir)/config/rules.mk
OS_LIBS = \
kernel32.lib \
rpcndr.lib \
rpcns4.lib \
rpcrt4.lib \
ole32.lib \

View File

@@ -87,7 +87,6 @@ SRCDIR_CSRCS = $(addprefix $(srcdir)/,$(CSRCS))
OS_LIBS = \
kernel32.lib \
rpcndr.lib \
rpcns4.lib \
rpcrt4.lib \
oleaut32.lib \

View File

@@ -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);

View File

@@ -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;

View File

@@ -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);
}

View File

@@ -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"