BColumnListView was hiding BView::ScrollTo(BPoint), due to its own child variant ScrollTo(BRow *). Fixed.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29126 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent
2009-02-02 01:36:54 +00:00
parent 3572efc239
commit 432bac0e7a
2 changed files with 6 additions and 0 deletions
@@ -304,6 +304,7 @@ public:
void AddRow(BRow*, int32 index, BRow *parent = 0); void AddRow(BRow*, int32 index, BRow *parent = 0);
void ScrollTo(const BRow* Row); void ScrollTo(const BRow* Row);
void ScrollTo(BPoint point);
// Does not delete row or children at this time. // Does not delete row or children at this time.
// todo: Make delete row and children // todo: Make delete row and children
+5
View File
@@ -1143,6 +1143,11 @@ void BColumnListView::ScrollTo(const BRow* Row)
fOutlineView->ScrollTo(Row); fOutlineView->ScrollTo(Row);
} }
void BColumnListView::ScrollTo(BPoint point)
{
fOutlineView->ScrollTo(point);
}
void BColumnListView::Clear() void BColumnListView::Clear()
{ {
fOutlineView->Clear(); fOutlineView->Clear();