Fixing build bustage. Sorry!

git-svn-id: svn://10.0.0.236/trunk@16543 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com
1998-12-17 00:05:06 +00:00
parent 9d22403d39
commit 5ecb5d5e3e
3 changed files with 4 additions and 1 deletions

View File

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

View File

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

View File

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