diff --git a/mozilla/cmd/macfe/gui/CDynamicTooltips.cp b/mozilla/cmd/macfe/gui/CDynamicTooltips.cp index 9cf5fe7456b..b210ee22f9c 100644 --- a/mozilla/cmd/macfe/gui/CDynamicTooltips.cp +++ b/mozilla/cmd/macfe/gui/CDynamicTooltips.cp @@ -35,8 +35,7 @@ // been correctly set. // void -CDynamicTooltipPane :: CalcFrameWithRespectTo( LWindow* inOwningWindow, LPane* inOwningPane, - const EventRecord& inMacEvent, +CDynamicTooltipPane :: CalcFrameWithRespectTo( LWindow* inOwningWindow, const EventRecord& inMacEvent, Rect& outTipFrame) { const short kXPadding = 5; @@ -54,7 +53,7 @@ CDynamicTooltipPane :: CalcFrameWithRespectTo( LWindow* inOwningWindow, LPane* i GlobalToPortPoint(theLocalPoint); Rect theWindowFrame; - inOwningPane->CalcPortFrameRect(theWindowFrame); + mOwningPane->CalcPortFrameRect(theWindowFrame); outTipFrame.left = theLocalPoint.h + kXPadding; outTipFrame.top = theLocalPoint.v + kYPadding; @@ -73,10 +72,10 @@ CDynamicTooltipPane :: CalcFrameWithRespectTo( LWindow* inOwningWindow, LPane* i // for the tooltip at the current mouse location // void -CDynamicTooltipPane :: CalcTipText( LWindow* /* inOwningWindow */, LPane* inOwningPane, - const EventRecord& inMacEvent, StringPtr outTipText) +CDynamicTooltipPane :: CalcTipText( LWindow* /* inOwningWindow */, const EventRecord& inMacEvent, + StringPtr outTipText) { - CDynamicTooltipMixin* parent = dynamic_cast(inOwningPane); + CDynamicTooltipMixin* parent = dynamic_cast(mOwningPane); Assert_(parent != NULL); parent->FindTooltipForMouseLocation ( inMacEvent, outTipText ); diff --git a/mozilla/cmd/macfe/gui/CDynamicTooltips.h b/mozilla/cmd/macfe/gui/CDynamicTooltips.h index 7943671290d..e777dc847e7 100644 --- a/mozilla/cmd/macfe/gui/CDynamicTooltips.h +++ b/mozilla/cmd/macfe/gui/CDynamicTooltips.h @@ -53,13 +53,11 @@ public: virtual void CalcFrameWithRespectTo( LWindow* inOwningWindow, - LPane* inOwningPane, const EventRecord& inMacEvent, Rect& outTipFrame); virtual void CalcTipText( LWindow* inOwningWindow, - LPane* inOwningPane, const EventRecord& inMacEvent, StringPtr outTipText);