Fixed build for GCC4, thanks to Ioan Molnar for the hint.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19138 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-10-29 10:59:59 +00:00
parent 6d7f7b86e1
commit f981047196

View File

@ -445,7 +445,7 @@ SView::ResizePreferredBy(float width, float height)
void
SView::AddChild(BView *child, BView *before = NULL)
SView::AddChild(BView *child, BView *before)
{
BView::AddChild(child, before);
child->ResizeToPreferred();