From 5ecb5d5e3e76fc22244d47165a8973201ce0fa2f Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Thu, 17 Dec 1998 00:05:06 +0000 Subject: [PATCH] Fixing build bustage. Sorry! git-svn-id: svn://10.0.0.236/trunk@16543 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/xpwidgets/nsHTTreeDataModel.cpp | 2 ++ mozilla/widget/src/xpwidgets/nsTreeView.cpp | 1 + mozilla/widget/src/xpwidgets/nsTreeView.h | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mozilla/widget/src/xpwidgets/nsHTTreeDataModel.cpp b/mozilla/widget/src/xpwidgets/nsHTTreeDataModel.cpp index 778467c16b0..6c555a1a394 100644 --- a/mozilla/widget/src/xpwidgets/nsHTTreeDataModel.cpp +++ b/mozilla/widget/src/xpwidgets/nsHTTreeDataModel.cpp @@ -330,5 +330,7 @@ void nsHTTreeDataModel::NotifyError(nsIImageRequest *aImageRequest, nsHierarchicalDataItem* nsHTTreeDataModel::CreateDataItemWithContentNode(nsIContent* pContent) { nsHTTreeItem* pItem = new nsHTTreeItem(pContent, this); + + // Register our item as an event listener on the DOM node. return pItem; } diff --git a/mozilla/widget/src/xpwidgets/nsTreeView.cpp b/mozilla/widget/src/xpwidgets/nsTreeView.cpp index 7ae97226363..626b45cd885 100644 --- a/mozilla/widget/src/xpwidgets/nsTreeView.cpp +++ b/mozilla/widget/src/xpwidgets/nsTreeView.cpp @@ -306,6 +306,7 @@ void nsTreeView::HandleMouseUp(nsGUIEvent* aEvent) // The background of the tree view, the trigger for a node, // or the text in a specific column. PRUint32 row, column; + nsHitLocation type; DetermineHitLocation(mCachedMovePoint, row, column, type); // If the user boinked the trigger, then we need to open or close the node. diff --git a/mozilla/widget/src/xpwidgets/nsTreeView.h b/mozilla/widget/src/xpwidgets/nsTreeView.h index f8c4af1ef9e..e495ebd64ec 100644 --- a/mozilla/widget/src/xpwidgets/nsTreeView.h +++ b/mozilla/widget/src/xpwidgets/nsTreeView.h @@ -29,6 +29,7 @@ class nsIImageGroup; class nsIImage; +enum nsHitLocation { eTriggerHit, eContentHit, eBackgroundHit }; //------------------------------------------------------------ // A tree view consists of several components: a title bar, a control strip, @@ -118,7 +119,6 @@ protected: void HandleMouseUp(nsGUIEvent* aEvent); // Helper for determining hit locations. - enum nsHitLocation { eTriggerHit, eContentHit, eBackgroundHit }; void DetermineHitLocation(const nsPoint& point, PRUint32& row, PRUint32& column, nsHitLocation& location);