diff --git a/accessible/public/ia2/Makefile.in b/accessible/public/ia2/Makefile.in index 6f4dce27bc9a..14c33d08c736 100644 --- a/accessible/public/ia2/Makefile.in +++ b/accessible/public/ia2/Makefile.in @@ -105,7 +105,6 @@ include $(topsrcdir)/config/rules.mk OS_LIBS = \ kernel32.lib \ - rpcndr.lib \ rpcns4.lib \ rpcrt4.lib \ ole32.lib \ diff --git a/accessible/public/msaa/Makefile.in b/accessible/public/msaa/Makefile.in index c37544eaa001..f0cea6327d79 100755 --- a/accessible/public/msaa/Makefile.in +++ b/accessible/public/msaa/Makefile.in @@ -87,7 +87,6 @@ SRCDIR_CSRCS = $(addprefix $(srcdir)/,$(CSRCS)) OS_LIBS = \ kernel32.lib \ - rpcndr.lib \ rpcns4.lib \ rpcrt4.lib \ oleaut32.lib \ diff --git a/accessible/src/msaa/nsAccessNodeWrap.h b/accessible/src/msaa/nsAccessNodeWrap.h index 225375874dff..f224398c8bd3 100644 --- a/accessible/src/msaa/nsAccessNodeWrap.h +++ b/accessible/src/msaa/nsAccessNodeWrap.h @@ -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 +#ifndef WINABLEAPI +#include +#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); diff --git a/accessible/src/msaa/nsEventMap.h b/accessible/src/msaa/nsEventMap.h index af4c01e020d7..27136a46d5fc 100755 --- a/accessible/src/msaa/nsEventMap.h +++ b/accessible/src/msaa/nsEventMap.h @@ -38,7 +38,10 @@ * * ***** END LICENSE BLOCK ***** */ -#include "winable.h" +#include +#ifndef WINABLEAPI +#include +#endif #include "AccessibleEventId.h" const PRUint32 kEVENT_WIN_UNKNOWN = 0x00000000; diff --git a/accessible/src/xul/nsXULTreeAccessible.cpp b/accessible/src/xul/nsXULTreeAccessible.cpp index d5dbfcd55829..e75334a84a73 100644 --- a/accessible/src/xul/nsXULTreeAccessible.cpp +++ b/accessible/src/xul/nsXULTreeAccessible.cpp @@ -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); } diff --git a/widget/src/windows/nsWindow.cpp b/widget/src/windows/nsWindow.cpp index ddcb679e7069..ac9ede4d0c57 100644 --- a/widget/src/windows/nsWindow.cpp +++ b/widget/src/windows/nsWindow.cpp @@ -92,7 +92,6 @@ // unknwn.h is needed to build with WIN32_LEAN_AND_MEAN #include -//#include #include //#include "sysmets.h" #include "nsGfxCIID.h" @@ -105,7 +104,10 @@ #ifdef ACCESSIBILITY #include "OLEIDL.H" -#include "winable.h" +#include +#ifndef WINABLEAPI +#include +#endif #include "nsIAccessible.h" #include "nsIAccessibleDocument.h" #include "nsIAccessNode.h"