diff --git a/layout/generic/nsObjectFrame.cpp b/layout/generic/nsObjectFrame.cpp index e4ad6487203..afa2d22c988 100644 --- a/layout/generic/nsObjectFrame.cpp +++ b/layout/generic/nsObjectFrame.cpp @@ -1344,7 +1344,9 @@ nsObjectFrame::HandleEvent(nsIPresContext* aPresContext, case NS_MOUSE_MOVE: case NS_MOUSE_ENTER: case NS_MOUSE_LEFT_BUTTON_UP: +#ifndef XP_MAC case NS_MOUSE_LEFT_BUTTON_DOWN: +#endif *anEventStatus = mInstanceOwner->ProcessEvent(*anEvent); break; diff --git a/layout/html/base/src/nsObjectFrame.cpp b/layout/html/base/src/nsObjectFrame.cpp index e4ad6487203..afa2d22c988 100644 --- a/layout/html/base/src/nsObjectFrame.cpp +++ b/layout/html/base/src/nsObjectFrame.cpp @@ -1344,7 +1344,9 @@ nsObjectFrame::HandleEvent(nsIPresContext* aPresContext, case NS_MOUSE_MOVE: case NS_MOUSE_ENTER: case NS_MOUSE_LEFT_BUTTON_UP: +#ifndef XP_MAC case NS_MOUSE_LEFT_BUTTON_DOWN: +#endif *anEventStatus = mInstanceOwner->ProcessEvent(*anEvent); break;