From 44ca72c8ca8e849e61224ea57114c1914f32bac8 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 17 Jun 2007 01:18:34 +0000 Subject: [PATCH] Use layout-friendly constructor. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21428 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../layout/widget_layout_test/tests/ListViewTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/kits/interface/layout/widget_layout_test/tests/ListViewTest.cpp b/src/tests/kits/interface/layout/widget_layout_test/tests/ListViewTest.cpp index 91796b5f2a..5117552489 100644 --- a/src/tests/kits/interface/layout/widget_layout_test/tests/ListViewTest.cpp +++ b/src/tests/kits/interface/layout/widget_layout_test/tests/ListViewTest.cpp @@ -11,11 +11,11 @@ ListViewTest::ListViewTest() : Test("ListView", NULL), - fListView(new BListView(BRect(0, 0, -1, -1), NULL)) + fListView(new BListView()) { SetView(fListView); - // add a view items + // add a few items for (int32 i = 0; i < 15; i++) { BString itemText("list item "); itemText << i;